Multiple Drawings pointing to the same Assembly
We are using CREO 3.0, M030
We need to create multple drawings that are linked to the same assembly.
Each drawing will be saved as a PDF and combined to make a single PDF.
Our Assembly has the file name "AAXXXXX"
The first drawing that is linked to the assembly will have a file name "BBXXXXX"
The second drawing will have the file name "BBXXXXX-101"
The third drawing will ahve the file name "BBXXXXX-102" and so forth.
We need the title block text on all drawings to read "BBXXXXX"
When I use the system parameter "&dwg_name" the first drawing is correct, but the subsequent drawings will show "BBXXXXX-101, BBXXXXX-102" and so forth. I want all of the drawings to have the same title block text.
Looking throught he PTC Community post I have found and tried the following relations. In preparation I ahve creted the drawing parramters ACTUAL_LENGTH, display_length,and drawing_no.
Here are the relations:
Relation 1
ACTUAL_LENGTH = STRING_LENGTH(dwg_name)
display_length = ACTUAL_LENGTH
if (ACTUAL_LENGTH > 7)
display_length = 7
else
display_length = STRING_LENGTH(dwg_name)
endif
display_name = EXTRACT(dwg_name, 1, display_length)
Relation 2
drawing_no = extract(dwg_name, 1, (search(dwg_name, "-101")-1))
For this relation I adjusted the "-101" to match the different drawing firl names acccordingly.
When I try either of these relations I keep getting an error stating that dwg_name is an invalid symbol.
What am I doing wrong?

