Can i get sldworks from modeldoc2 solidworks forums. Api help english only 2016 sp05 to disable web help from within solidworks and use local help instead, click help use solidworks web help. The solidworks api also has functions that are common to all document types. To report problems encountered with the web help interface and search, contact your local support representative. Api help english only 2017 sp05 to disable web help from within solidworks and use local help instead, click help use solidworks web help. How to work with custom properties and cut lists cad booster. Solidworks api solid modeling drawings mechanical design. A lot of pdm api objects have a field for the vault object. I have actually asked solidworks api support to add support for a method that would be the answer to your question.
Modeldoc property imodelwindow 2017 solidworks api help. This interface also referred to as the modeldoc2 object gives the macro access to things like rebuilding a document and adding configurations. Does anyone know how to do this using the solidworks api. Get model doc from lightweight component using solidworks api. Is there a way to get all the partdoc information upon importing an assemblydoc file. From there, when the user is trying to edit a part, i want to get the information on which part file they want to edit. Sort file tree 3d contentcentral free 3d cad models, 2d. The model document is not available for the components loaded lightweight or suppressed i. For example, printing, saving, or determining the file name associated with a document would be common operations.
To expose common documentlevel functions, the solidworks api uses the imodeldoc2 object. Api help english only 2012 sp05 to disable web help from within solidworks and use local help instead, click help use solidworks web help. Commonly used interfaces in the solidworks api part 4. Icomponent2getmodeldoc2 solidworks api method returns the pointer to imodeldoc2 interface. The imodeldoc2 interface is exposed by the isldworks interface. Solidworks corporation has not verified that the macros posted on this site are safe and that they came from a trustworthy. Python tutorial for beginners full course learn python for web development duration. The api contains hundreds of functions that you can call from visual basic for applications vba, vb.