Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations JAE on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Assign Attribute Name in Diesel

Status
Not open for further replies.

dik

Structural
Joined
Apr 13, 2001
Messages
26,108
Location
CA
based on an earlier query for drawing names in the titleblock, I ended up with the Diesel script

$(substr,$(getvar,dwgname),1,$(-,$(strlen,$(getvar,dwgname)),4))-$(getvar,ctab)

This works like a charm...

I want to include the revision number which is a block attribute say DG_REV.

Is it possible to assign this a variable name so it can be included in the above script to give the Drawing Name + Tab Name + Revision Number?

Dik
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top