10-09-2023
10:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
10-09-2023
10:35 AM
I am trying to find a way to check the "export parameter" checkbox on in "fx parameters" using iLogic to add to exsiting rule. Any help would be greatly appreciated.
Jason Mayes
Solved! Go to Solution.
10-09-2023
11:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
10-09-2023
11:07 AM
Hi @JasonMayes. That is a property of the Parameter API object called ExposedAsProperty, which has a Read/Write Boolean type value. There are lots of examples of how to access and change that property here on this forum.
Dim oParams As Inventor.Parameters = ThisDoc.Document.ComponentDefinition.Parameters
Dim oParam As Inventor.Parameter = oParams.Item(1)
'this next line will 'toggle' that setting every time you run it
oParam.ExposedAsProperty = Not oParam.ExposedAsProperty
If this solved your problem, or answered your question, please click ACCEPT SOLUTION .
Or, if this helped you, please click (LIKE or KUDOS)
.
Wesley Crihfield
(Not an Autodesk Employee)
10-09-2023
12:33 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report