select the export parameter box in fx parameters using iLogic

select the export parameter box in fx parameters using iLogic

JasonMayes
Advocate Advocate
638 Views
2 Replies
Message 1 of 3

select the export parameter box in fx parameters using iLogic

JasonMayes
Advocate
Advocate

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.

 

JasonMayes_0-1696872892632.png

Jason Mayes

0 Likes
Accepted solutions (1)
639 Views
2 Replies
Replies (2)
Message 2 of 3

WCrihfield
Mentor
Mentor

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

EESignature

(Not an Autodesk Employee)

0 Likes
Message 3 of 3

JasonMayes
Advocate
Advocate
Accepted solution
0 Likes