iProperty Function That Displays String Depending On Boolean

iProperty Function That Displays String Depending On Boolean

cstarker6VCG4
Collaborator Collaborator
459 Views
3 Replies
Message 1 of 4

iProperty Function That Displays String Depending On Boolean

cstarker6VCG4
Collaborator
Collaborator

We use iLogic functions to populate the Title iProperty in this general fashion: TYPE: PARAMETER 1, PARAMETER 2, FEATURE 1, FEATURE 2, etc. All of these reference custom iProperties. The "FEATURE" strings should appear in the Title only if the corresponding iProperty is Yes (the design has the feature).

 

What code do I enter into the Title text field to display a string if an iProperty is Yes?

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

Frederick_Law
Mentor
Mentor

Shouldn't when there is no FEATURE, FEATURE 1 and FEATURE 2 will be empty?

 

I did similar and leave the iProperty empty.

Add them all to text field: <First> <Second> <Third>.

 

I think there is iff() statement.

0 Likes
Message 3 of 4

cstarker6VCG4
Collaborator
Collaborator

How do I use an if statement here in the Title field?:

cstarker6VCG4_0-1685644792652.png

 

0 Likes
Message 4 of 4

johnsonshiue
Community Manager
Community Manager
Accepted solution

Hi! I don't think this can be easily done using Property expressions. An iLogic rule can help.

Many thanks!



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
0 Likes