Continue to Site

Welcome to MCAD Central

Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.

Repeat Region and Family table

mechtronix

New member
Hi everyone,


I've been working on our new format for too long now, even with PTC tech support. They can`t even figure this out.


I have a part or assembly family table


12345-00-0 Generic Title GenericFinish


12345-00-1 My new title& nbsp; My new finish


12345-00-2 My brand new title My really old finish.


I also have few parameters in the Generic model like FC which is a string, ProI_Revision.. value from Pro/Intralink.


I want to create in my drawing a table like this..(where FC and PI are the values of those two parameters


*******************************************


FC-12345-00-0PI&nb sp; My Title


My Finish


*******************************************


FC-12345-00-1PI&nb sp; My new title


My new finish...


********************************************* and so on.


The table I made is not working. The problem I have is with the creation of FC-12345-00-1PI... for the rest.. title and finish.. I'm ok..


Anyone have an Idea.


Marc-Antoine
 
Have you tried creating a parameter for your title (a new string) & made a relation like:


new_title = FC + "-" +12345-00-0 + PI


This will concatenate (merge) the 3 parameters into 1 parameter.
 
yes I did,


Here's the relation I had in my generic model to generate the ID.


id=fabcode + " -" + extract(rel_model_name(),1,10) + proi_revision


and In my repeat region relation, I had.


***********************


if (string_length(fam_inst_name)==10)
instancename=mdl_generic_fabcode + " -" + fam_inst_name +mdl_generic_proi_revision
else
instancename= "REMOVE"
endif


****


And then I had a filter to filter is the instancename = remove.
 
It is not essential to concatenate other parameters to form a new one
to display, apparently as a single entity. You can display more than
one item in a single cell of a table.



In this case try entering something along the lines of



{0:&asm.mbr.FC}{1: - }{2:&asm.mbr.name}{3:&asm.mbr.PI}



into one cell of your table





This procedure DOES work and I use it to "embed" model dimensions and
parameters into the table descriptions of parts. It is only a question
of whether it will achieve the result you want.





B.T.W. when you have the table looking the way you want it; save it to your library for easy retrieval.







DB
 

Sponsor

Articles From 3DCAD World

Back
Top