Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.
I inserted the values of a Family Table in the Drawing by table, well in some itens of this table I would like of modify of Real Number to Text, but dont lost the parametrization.
I have a drawing, and was create a Family Table selecting some dimensions in the Part, after I created in the Drawing a Table that take all the values of Family Table (this Table was inserted using &fam.inst.param.value and &fam.inst.param.name), but I would like of change where the values are 0 for Dont Have.
1. Create a string parameter in the generic that reflects what you want to appear in the drawing family table (PTC calls it a parts catalog). By creating it in the generic, all members of the family table will have it as well.
2. Write if-then-else relations in the generic to assign a value to this new parameter. For example:
if d12 = 0
new_parameter = Don't Have
else
new_parameter = itos(d12)
endif
(Caveat: I'm fairly certain the itos function converts an integer to string, but I wouldn't bet my life on it. I suggest you look it up in Help.)
3. Create your family table as usual on the drawing.
4. Use Tables > Repeat Region > Filters > By Rule to filter out the old parameter / dimension from the parts catalog. For example:
&fam.inst.param.name != d12
Your old column will no longer appear in the parts catalog, but new_parameter will.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.