How to add parameter to iProperties?

How to add parameter to iProperties?

BeKirra
Advisor Advisor
2,473 Views
15 Replies
Message 1 of 16

How to add parameter to iProperties?

BeKirra
Advisor
Advisor

I have an IPT file and need to show a dimension (parameter) value in "Description" in iProperties.

It doesn't work if I paste the parameter value (ie. d1) to "Description".

 

Your helps are much appreciated.

 

Please mark "Accept as Solution" and "Like" if my reply resolves the issue and it will help when others need helps.
= ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ =
A circle is the locus of a cursor, starting and ending at the same point on a plane in model space or in layout such that its distance from a given coordinates (X,Y) is always constant.
X² + Y² = C²
0 Likes
Accepted solutions (3)
2,474 Views
15 Replies
Replies (15)
Message 2 of 16

johnsonshiue
Community Manager
Community Manager

Hi! Try this. Go to Parameters table -> find the parameter -> check Export box on the far right. The parameter will be exported to custom iProperty. You can reference it in any iProperty using angle brackets <>.

<d1>

 

Many thanks!



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
Message 3 of 16

BeKirra
Advisor
Advisor

Thanks for your help.

I did exactly what you mentioned but nothing works.

 

image.png

 

 

 

image.png

 

 

 

image.png

 

Please mark "Accept as Solution" and "Like" if my reply resolves the issue and it will help when others need helps.
= ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ =
A circle is the locus of a cursor, starting and ending at the same point on a plane in model space or in layout such that its distance from a given coordinates (X,Y) is always constant.
X² + Y² = C²
0 Likes
Message 4 of 16

johnsonshiue
Community Manager
Community Manager
Accepted solution

Hi! Sorry, one omission. You need to add an equal sign. Write it like "=<d15>." Most iProperties can be cross-referenced like this. It should work.

Many thanks!



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
Message 5 of 16

BeKirra
Advisor
Advisor

@johnsonshiue wrote:

...

Write it like "=<d15>."

...


Sorry, it doesn't work either, even having a pair of quotation marks.

BTW I am on 2019.

Thanks.

Please mark "Accept as Solution" and "Like" if my reply resolves the issue and it will help when others need helps.
= ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ =
A circle is the locus of a cursor, starting and ending at the same point on a plane in model space or in layout such that its distance from a given coordinates (X,Y) is always constant.
X² + Y² = C²
0 Likes
Message 6 of 16

BeKirra
Advisor
Advisor

Finally I make it. But...

 

image.png

 

 

image.png

 

 

 

Please mark "Accept as Solution" and "Like" if my reply resolves the issue and it will help when others need helps.
= ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ =
A circle is the locus of a cursor, starting and ending at the same point on a plane in model space or in layout such that its distance from a given coordinates (X,Y) is always constant.
X² + Y² = C²
0 Likes
Message 7 of 16

rhasell
Advisor
Advisor

Hi

 

You have almost got it.

Snip from my model, I use custom values, but in your case, the prefix will be placed after the equal sign.

 

Annotation 2020-04-17 160134.png

Reg
2026.1
0 Likes
Message 8 of 16

BeKirra
Advisor
Advisor

Thanks.

So it is not possible to add prefix but suffix?

 

I really want to have something like this:

 

Cylinder Ø100 x 50(h)

Please mark "Accept as Solution" and "Like" if my reply resolves the issue and it will help when others need helps.
= ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ =
A circle is the locus of a cursor, starting and ending at the same point on a plane in model space or in layout such that its distance from a given coordinates (X,Y) is always constant.
X² + Y² = C²
0 Likes
Message 9 of 16

rhasell
Advisor
Advisor
Accepted solution

Hi

No, that's not what I said.

 

Everything needs to be placed after the equals sign, the properties are placed in <> brackets, you can put the text anywhere you want.

 

= Cylinder Ø<OD> x <HEIGHT>(h)

 

 

 

Reg
2026.1
0 Likes
Message 10 of 16

rhasell
Advisor
Advisor

Hi

Using the d15 as an example

 

=Cylinder Ø<d15> x <d15>(h)

Reg
2026.1
Message 11 of 16

BeKirra
Advisor
Advisor

Thanks. It seems to work...

 

How to change the precision of the values? Currently I have 3 decimal shown in iProperties.

Please mark "Accept as Solution" and "Like" if my reply resolves the issue and it will help when others need helps.
= ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ =
A circle is the locus of a cursor, starting and ending at the same point on a plane in model space or in layout such that its distance from a given coordinates (X,Y) is always constant.
X² + Y² = C²
0 Likes
Message 12 of 16

rhasell
Advisor
Advisor
Accepted solution

Hi

 

You might need to start looking at creating user parameters which become more permanent and can be saved to a template.

 

To answer your question.

When the export check box is selected, a new Right Click option becomes available for the parameter.

therefore, right click on your parameter , E.G. d15

select the option "Custom Property Format"

make the desired changes to the parameter.

 

done.

 

Annotation 2020-04-17 164616.pngAnnotation 2020-04-17 164610.png

Reg
2026.1
Message 13 of 16

BeKirra
Advisor
Advisor

Awesome!

So everything seems perfect!

Thank you very much. Cheers! 🍺 👍

Please mark "Accept as Solution" and "Like" if my reply resolves the issue and it will help when others need helps.
= ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ =
A circle is the locus of a cursor, starting and ending at the same point on a plane in model space or in layout such that its distance from a given coordinates (X,Y) is always constant.
X² + Y² = C²
Message 14 of 16

BeKirra
Advisor
Advisor

Just another thought...

 

How to make this works? Thanks.

If d1 = 10mm, I'd like to show a value in iProperties 5mm = d10 / 2.

Obviously the following doesn't work.

=<d1> / 2

 

Please mark "Accept as Solution" and "Like" if my reply resolves the issue and it will help when others need helps.
= ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ =
A circle is the locus of a cursor, starting and ending at the same point on a plane in model space or in layout such that its distance from a given coordinates (X,Y) is always constant.
X² + Y² = C²
0 Likes
Message 15 of 16

rhasell
Advisor
Advisor

Hi

The first thing that comes to mind, is a User Parameter.

The User parameter will have the formula of d1/2 and the the iProperty will report the User parameter and not the d1 value.

 

eg: d1=10mm

User parameter of "Length" =d1/2

 

Iproperty of Description =<Length>

Annotation 2020-04-20 091723.pngAnnotation 2020-04-20 091819.png

Reg
2026.1
0 Likes
Message 16 of 16

BeKirra
Advisor
Advisor

Yep, I did think of this.

I prefer not to edit parameter(s) nor create a new parameter.

It'd be nice if it can be done in the places of iProperties.

Thanks.

Please mark "Accept as Solution" and "Like" if my reply resolves the issue and it will help when others need helps.
= ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ =
A circle is the locus of a cursor, starting and ending at the same point on a plane in model space or in layout such that its distance from a given coordinates (X,Y) is always constant.
X² + Y² = C²
0 Likes