AnsweredAssumed Answered

How to change DimXpert Direction in VBA?

Question asked by Nishihama Sayuri on Aug 11, 2017
Latest reply on Aug 15, 2017 by Nilesh Patel

I have a vba macro to draw [DimXpert Location Dimension] in .sldprt file.

 

Get and Set Location Dimension Example (VBA)

http://help.solidworks.com/2017/English/api/swdimxpertapi/Get_and_Set_Location_Dimension_Example_VB.htm

 

' insert DimXpert dimension

dimXpertPart.InsertLocationDimension dimOption

 

Can I change DimXpert Direction in VBA? (before InsertLocationDimension or after InsertLoactionDimension)

 

 

I ran vba macro recorder, draw dimension and change its direction by hand, but No code was created.

Outcomes