Sorry to hear that. Do you have any specific errors or it just does nothing? Can you record a short video of how you use the macro? Do you have a text file with properties and the properties do exist in the model?
ctrl+q is a shortcut for a force rebuild so it is better to use some other...
Is this revision come from custom property?
It is possible to develop what you are looking for but this needs to be developed as an integrated add-in which listens for property change events and exports the PDF if revision is changed. If you are developer I can give you some hints of API...
You can remove the recent documents from the registry. Go to
HKEY_USERS\S-1-5-21-XXXX\Software\SolidWorks\Solidworks 2016\Recent File List
Where S-1-5-21-XXXX is your User's Security Identifier (SID).
I would suggest to just do a search over the registry for Recent File List. Once found...
Hi,
Yes, this is possible with SolidWorks API (assuming that centroid == center of mass).
Take a look at the following methods:
http://help.solidworks.com/2015/english/api/sldworksapi/solidworks.interop.sldworks~solidworks.interop.sldworks.imassproperty~centerofmass.html...
I think you cannot preset the orientation because IModelView only available for visible documents. But you can freeze the view so user won't see the view change (take a look at ModelView::EnableGraphicsUpdate).
No, I'm afraid the API is missing. One alternative way to do this is to get the transformation of the component (IComponent2::Transform2) and current view transformation (IModelView::Transform) and compose new transform to apply to the opened part's view.
Hi,
You need to parse the excel (either using the Excel APIs or preferably via the ODBC/OLED source for the performance reasons). Then you can use this method to apply parameters: Configuration::SetParameters.
Thanks,
Artem
Hi,
Try to avoid using SelectByID2 for selection unless the permanent name is used. Please note that the sketch elements such as sketch segments or sketch points have temporary names. So 'Point1' is assigned dynamically and can change later. Furthermore SelectByID2 is a view specific method for...
Just in case that you are not the same person who posted this question on SW API Forum. Please refer: https://forum.solidworks.com/message/333186#333186
Regards,
Artem Taturevych
Application Engineer at Intercad
http://intercad.com.au/
Tel: +61 2 9454 4444
Excuse me, just realized that you are asking for different thing
Regards,
Artem Taturevych
Application Engineer at Intercad
http://intercad.com.au/
Tel: +61 2 9454 4444