- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
A bit of a strange one. I have a userform for people to configure a new drawing. One of the options they have is to select the Active Standard from a choice of the two company standards.
The template drawing contains both of the standards as does the styles library but the company ISO standard is the default. If the user selects the company ANSI standard the active standard appears correct in document settings but it produces dimensions like its still stuck on the ISO default as the template is saved. Looking in the styles library i can see the standard says ANSI but the Available Styles and Object defaults read as if they are the ISO standard.
First question, am i setting the active standard correctly?
Dim odoc2 As Inventor.DrawingDocument
Set odoc2 = ThisApplication.ActiveDocument
'Get reference to active standard object
Dim oActive As DrawingStandardStyle
Set oActive = odoc2.StylesManager.ActiveStandardStyle
oActive.Name = ComboBox1.Value
Thanks
Did you find this reply helpful ? If so please use the Accept as Solution or Kudos button below.
---------------------------------------------------------------------------------------------------------------------------
Inventor 2010 Certified Professional
Currently using 2023 Pro
Solved! Go to Solution.