Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to invoke a part from a Product by using VBA 2

Status
Not open for further replies.

sachinTata

Automotive
Mar 28, 2014
24
IN
i am working on an assembly. I want to switch to part workbench by using VBA.
Same things we can do by double clicking on the Part entities in an Assembly.
How can i do it by using VBA?
 
Replies continue below

Recommended for you

From the assembly level, you can find the object of the part you want to work with and create/modify/delete object with no problem.
Why do you need to activate a part level workbench?

Eric N.
indocti discant et ament meminisse periti
 
If you had an assembly loaded and you wanted to do something like StartCommand "Publications", you would need to be active on a part or the publications would be made at the assembly level.

To place a part in edit mode, add the part to the selection then change the workbench to Part Design or GSD.

CATIA.StartWorkbench("PrtCfg")
 
thank you landman363.
I was looking for same. It solved my problem :)
 
one more question... where can i find argument of startworkbench.
like "PrtCfg" in above example.
Unable to find the same in V5automation.chm file
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Top