iProperties from Parameters with iLogic

iProperties from Parameters with iLogic

Anonymous
Not applicable
607 Views
4 Replies
Message 1 of 5

iProperties from Parameters with iLogic

Anonymous
Not applicable

- I have a part containing five solidbodies.
- lets call them a, b, c, d and e
- I have then split these five solidbodies into five separate parts
- I want to change the "part number" and "description" in each individual part iproperty to link into the parameters from the original part
- I can link certain parameters (ie. dimensions) quite easily
- but not multi-value text/number parameters (ie. anything with a dropdown list)

 

Suggestions?

 

Using 2016 version.

0 Likes
608 Views
4 Replies
Replies (4)
Message 2 of 5

andrewiv
Mentor
Mentor

You are correct.  There is no way, that I know of, to export text parameters.  You can, however, export multi-value numerical parameters and keep them linked.  If you want to link a text parameter, you have to writ a rule to read the parameter and create an iproperty with the same value.  You could set this up to run as a manual operation or you could use itriggers to run it automatically after a certain event.

Andrew In’t Veld
Designer / CAD Administrator

Message 3 of 5

Anonymous
Not applicable

Thanks Andrew - could you provide a quick example?

0 Likes
Message 4 of 5

andrewiv
Mentor
Mentor

Here is a quick example of how to create the iproperty.  TEXT_IPROPERTY is the name of the iproperty you want to create, TEXT_PARAMETER is the name of the parameter you want to read.

 

iProperties.Value("Custom", "TEXT_IPROPERTY") = TEXT_PARAMETER

Andrew In’t Veld
Designer / CAD Administrator

0 Likes
Message 5 of 5

Anonymous
Not applicable

The TEXT_PARAMETER is to be taken from a different part, from which I am unable to link text currently.

 

ie. dependant on the requirements - the iproperty of the part needs to read either "RFSO" or "RFWN" from the solidbodies I created the part from.

 

Hope that makes sense!

0 Likes