Dimension styles

Dimension styles

Roger_Block
Contributor Contributor
458 Views
1 Reply
Message 1 of 2

Dimension styles

Roger_Block
Contributor
Contributor

How can I load multiple dimension styles into an Inventor drawing file without loading them into a template file?

0 Likes
459 Views
1 Reply
Reply (1)
Message 2 of 2

adam.nagy
Autodesk Support
Autodesk Support

Hi,

 

You can add any of the available styles to the drawing and so the included dimension styles in it will also be available:

Sub LoadStyle()
  Dim dwg As DrawingDocument
  Set dwg = ThisApplication.ActiveDocument
  
  Call dwg.StylesManager.StandardStyles.Item(1).ConvertToLocal
End Sub

Cheers,



Adam Nagy
Autodesk Platform Services
0 Likes