Skip to main content
1-Visitor
April 26, 2017
Solved

How to reduce &fam.inst.param.name in 2D region?

  • April 26, 2017
  • 1 reply
  • 4743 views

 

Dear all,

 

 

 

I would like to ask you about some possibility to reduce the name of parameter in 2D region on drawing.

 

In the Family table in a Part there is a Feature Parameter named “LENGTH”

 

I would like to show this on the drawing. So I will use the 2D Region. For showing the Name of parameter I will use “&fam.inst.param.name”. But in the cells is showing “LENGTH:FID_1354”.

 

Is there some possibility to show only “LENGTH” without “:FID_1354”?

 

For example:

 

For showing number of decimal places we use in “&fam.inst.param.value” sign “[.1]”. Exist something like this also for the name?

 

 

 

Thank you for your meaning.

 

Best regards

 

Roman

 

Best answer by MartinHanak

Hi,

  • I opened konzola.prt
  • I moved relation from Initial section to Post Regeneration section (see combo box in bottom right corner of Relations dialog box)
  • I regenerated part
  • I verified all instances
  • I saved part

  • I opened trial.asm
  • I regenerated assembly (and assigned density, when asked)
  • I saved assembly

Now everything is in GREEN state.

MH

1 reply

12-Amethyst
April 26, 2017

I have not tried this myself, but this may work:

In the region with fam.inst.param.name, use Repeat Region > Relations to make a local parameter 'myname', and a relation to drive it from fam_inst_param_name and do such processing as is desired (here, searching for : and getting the substring up to but not including the colon), and call out myname instead of fam.inst.param.name.

Give it a try?

24-Ruby III
April 27, 2017

Hi,

I tested your suggestion without success.

Working solution:

  • in generic model, define Post Regeneration relation ... MYLENGTH=LENGTH:FID_1354
  • remove LENGTH:FID_1354 parameter from family table
  • add MYLENGTH parameter to family table
  • verify all family table instances

MH

rvlasic1-VisitorAuthor
1-Visitor
April 27, 2017

Hi Martin,

thank you for your help.

I have to say... I know this way. But here i have another problém:

When i done this and verified instances=> the part has the GREEN sign. If I open the part second one (some instance) it isn't in GREEN but has a YELLOW sign.

And the same thing is by using the part in assembly.

and the second thing: there is the critical warning:

Relation LENGTH=LENGTH:FID_1354 override family table values of instance D\:práce\konzola1<konzola>

Thank you for your reaction.

Best regards

Roman

PS: Sorry for my english