How to create a drop down list with iLogic for Checked By property

How to create a drop down list with iLogic for Checked By property

Anonymous
Not applicable
729 Views
1 Reply
Message 1 of 2

How to create a drop down list with iLogic for Checked By property

Anonymous
Not applicable

Hello friends,

 

I am a new player in the iLogic field. 

 

I want to create a drop down list with 4 different names in the Checked By property.

To be more specific, when I open the iLogic Form, in the Checked By property I want to have the option of 4 names and by selecting one of them, I want the Checked By in the Title Block to be automatically filled.

 

Can anyone give me an idea how to create?

 

Thank you in advance.

0 Likes
730 Views
1 Reply
Reply (1)
Message 2 of 2

WCrihfield
Mentor
Mentor

When you say "iLogic Form", do you mean that you have created your own iLogic Form, and the 'Checked By' is one of the iProperties being represented within that, or do you just mean the default iProperties dialog?  If you are referring to the default iProperties dialog, you won't be able to alter that to show a drop-down list.  For one thing, an iProperty can't currently hold multiple values, like a user parameter can, so in order to have a multi-value drop down list to choose other names from, you would first have to create a text type multi-value user parameter to hold the names.  Then in your custom iLogic Form, you can add this user parameter, which will allow you to select one of its names from a drop-down list.  Once that is set-up there are a few ways to get the value of that parameter to update the value of your iProperty.  Since this is a text type parameter, it won't have the 'export' checkbox by it in the Parameters dialog box, which would have made this much easier, so we will have to use an iLogic rule.

 

The next step would be to create the new 'local' (saved in the document) iLogic rule, which will be triggered to run each time the value of that user parameter changes, then it will copy the value of that user parameter to your iProperty.  Assuming you named your user parameter "CheckedBy", the local iLogic rule could be as simple as this:

'CheckedBy is the name of a 'local' multi-value text type user parameter
iProperties.Value("Project", "Checked By") = CheckedBy

 

If this solved your problem, or answered your question, please click ACCEPT SOLUTION.
Or, if this helped you, please click (LIKE or KUDOS) 👍.

If you want and have time, I would appreciate your Vote(s) for My IDEAS 💡or you can Explore My CONTRIBUTIONS

Wesley Crihfield

EESignature

(Not an Autodesk Employee)