Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X
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
Solved! Go to Solution.
Hi,
Now everything is in GREEN state.
MH
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?
Hi,
I tested your suggestion without success.
Working solution:
MH
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
Hi,
can you upload your model ?
See How to Attach a File to a Discussion Reply document describing upload procedure.
MH
Hi,
FYI when I open instance of my test model, the semaphore light is YELLOW, too. Regeneration changes it to GREEN.
MH
Hi Martin,
I am sending some example. is not the real model, because it is a company knowledge. But the problém is the same.
I know that aftere regen it is going to GREEN. But with using in a biger assembly ... i am little bit neurotic
Thank you for your reaction
Best regards
Roman
Hi,
Now everything is in GREEN state.
MH
Martin,
thank you very much.
everything is GREEN and without any critical warning.
This is exactly what I need.
Thank you very much.
with respect
Roman
Thank you Matthew,
I tried this, but do not go.
I create the relation LENGTH=fam_inst_param_name, but I am not sure what does mean "do such processing as is desired(here, searching for : and getting the substring up to but not including the colon)
And how to call out the LENGTH?
I tried, but all values was hiden.
Thank you very much
Roman