Linking an iProperty to a Dimension (Inventor)

Hello

I would like to link an iProperty to a dimension of my room (e.g. length of a profile).

Is this possible? If so, how?

Hello

Yes, you can, you need to create a property and in the "Value/Text Expression" cell you click on the dimension. This will automatically fill in your property.

Kind regards


cote.png
2 Likes

Hello

Uh, jmsavoyat, that's for Solidworks and now he's asking the question for Inventor...

2 Likes

First hack found, I went through iLogic:

If 1 Then
iProperties.Value("Project", "Description")="Long "&d4
End If

However, iProperties.Value("Project", "Description")="Long "&d4&"mm" does not work.

I haven't delved into the parameters of the function, including "Project", "Description" is the property I'm editing, "d4" the dimension I'm assigning.
Nice thing, "d4+d25" works.

Oops! Excuse me! I hadn't paid attention.

1 Like

Hello

You can avoid going through iLogic by following these 3 steps

1°) name the call number with the syntax below (easier to find the call number to export).

nommer la cote avec la syntaxe ci dessous

2°) check the boxes in Settings

cocher les cases entourées dans les paramètres

3°) follow the syntax to copy the value in the iproperties

Value =<name of the dimension>

Be careful not to put any space.

syntaxe ipropriétés

2 Likes