Hi All,
Currently writing some code that creates a detail view based off of a section view. When the section view isn't running parallel to drawing's horizontal axis then when the detail view is created, the general dimension type is set to true. (This only happens when detail view is created through iLogic for some reason? when created manually it works fine).
Since the general dimension type is set to true, then my code for setting up the dimensions doesn't work. Is there a function to change this General Drawing Type setting in iLogic?
Thanks in advance!
Solved! Go to Solution.
Solved by bradeneuropeArthur. Go to Solution.
Is this what you mean?
Dim d As Inventor.DrawingView = ThisApplication.CommandManager.Pick(inventor.SelectionFilterEnum.kDrawingViewFilter,"pick view")
d.GeneralDimensionType = Inventor.GeneralDimensionTypeEnum.kProjectedGeneralDimension 'Inventor.GeneralDimensionTypeEnum.kTrueGe
Regards,
Arthur Knoors
Autodesk Affiliations:
Autodesk Software:Inventor Professional 2024 | Vault Professional 2022 | Autocad Mechanical 2022
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:Drawing List!|Toggle Drawing Sheet!|Workplane Resize!|Drawing View Locker!|Multi Sheet to Mono Sheet!|Drawing Weld Symbols!|Drawing View Label Align!|Open From Balloon!|Model State Lock!
Posts and Ideas:Dimension Component!|Partlist Export!|Derive I-properties!|Vault Prompts Via API!|Vault Handbook/Manual!|Drawing Toggle Sheets!|Vault Defer Update!
! For administrative reasons, please mark a "Solution as solved" when the issue is solved !