02-15-2019
01:40 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
02-15-2019
01:40 AM
I'm not sure if you have a version of Inventor prior to 2018 installed, but if you do perhaps you can create a screencast showing how this rule used to function?
And then perform the same steps inside of Inventor 2018 for comparison.
Also, are you certain that the files in which the rule doesn't run are not Library files? This was a change Autodesk made in Inventor 2018 to "...maintain consistency with the UI behavior.":
One other thing, right at the top of the rule you refer to the "DocumentSubTypeID" - I doubt this will have changed between versions, but it's worth checking otherwise your rule will exit at this line:
A better approach might be to do this instead:
If Not TypeOf ThisApplication.ActiveDocument.ComponentDefinition Is SheetMetalComponentDefinition Then
Exit Sub
End If
![]()
----------------------------------------------------------------
Alex Fielder
Inventor Expert
https://github.com/alexfielder/
LinkedIn - Github Inventor Extension Server - Bonkers polygon iLogic thing
Top ten iLogic Tips - API Shortcut In Google Chrome - Assembly Extrusion Example
Alex Fielder
Inventor Expert
https://github.com/alexfielder/
LinkedIn - Github Inventor Extension Server - Bonkers polygon iLogic thing
Top ten iLogic Tips - API Shortcut In Google Chrome - Assembly Extrusion Example