How to add parameter to iProperties?

How to add parameter to iProperties?

BeKirra
Advisor Advisor
4,231 Views
22 Replies
Message 1 of 23

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 (4)
4,232 Views
22 Replies
Replies (22)
Message 2 of 23

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 ([email protected])
Software Test Engineer
Message 3 of 23

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 23

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 ([email protected])
Software Test Engineer
Message 5 of 23

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 23

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 23

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.3
0 Likes
Message 8 of 23

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 23

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.3
Message 10 of 23

rhasell
Advisor
Advisor

Hi

Using the d15 as an example

 

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

Reg
2026.3
Message 11 of 23

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 23

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.3
Message 13 of 23

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 23

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 23

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.3
0 Likes
Message 16 of 23

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
Message 17 of 23

willianvanhoogstraten
Community Visitor
Community Visitor

Do I have to "Remember" <d15> from the parameters list or is it also possible to open the parameters box while placing in the iproperties and then select the parameter needed?

0 Likes
Message 18 of 23

cfairfowl
Enthusiast
Enthusiast

I'm confused .com

0 Likes
Message 19 of 23

dan_inv09
Advisor
Advisor

Put a check in the Export column for the Parameters you need to use

Right click for Custom Property Format

When an iProperty has = as the first character then the property will show what is after it and things in <> will come from other iProperties or Custom Properties - the exported parameters will be in your Custom Properties

Make new User Parameters if you have to do any sorts of calculations in the Parameters

And if you can remember that you need a certain Parameter then you can just use that, like <d15>, but it is easier if you rename your Parameters (just the ones you need for the iProperties, unless you really want to do more)

Message 20 of 23

cfairfowl
Enthusiast
Enthusiast

Hi Dan, I managed to get it to work thanks. 

 

=<d1> <d2>x<d3>     fx at the end of the box.

 

PLATE 30 THICK 400x300 appears in the BOM description and in the Project Description in the iProperties.

However, when I add PLATE and THICK into the mix

 

PLATE =<d1> THICK <d2>x<d3>

 

it displays OK but it looses it's connection and then doesn't update if I change the values in the parameters.

The fx symbol at the end of the line also vanishes and I can't get it to come back so I cannot do anything with it.

 

Any Ideas?

 

Kindest regards.

 

Chris.

 

 

 

 

0 Likes