keelay711
2006-02-14, 12:59 AM
The problem:
I have a couple hundred drawings to update, but several other higher-priority projects consuming my time.
The parameters:
AutoCAD 2006
The drawings all x-reference their relative borders. The border has a field pointing to the drawing properties. I need to update this drawing property (keyword) based on the file name of the drawing as follows:
Filename: Drawing-SH3.dwg
Keyword Value: -S.H. 3-
I need to go into each drawing anyway for various reasons, so a routine that goes through multiple drawings at once is viable but not needed. I just want to automate the process of updating the drawing number without having to go through the pull down menu-> drawing properties, etc.
The VERY basic outline:
Retrieve current filename "Sample-SH3.dwg"
Set to variable
Truncate variable to "SH3"
Format variable to "-S.H. 3-"
Insert variable into keyword drawing property
End
The pathetic begging and pleading paragraph:
I know this is the lazy way of doing it... essential asking someone to do it for me with a lisp via these forums. I am praying that someone out there wants the challenge. I just don't have the time to sort through the routine, with all these projects pending. Same story everywhere, right?
I have a couple hundred drawings to update, but several other higher-priority projects consuming my time.
The parameters:
AutoCAD 2006
The drawings all x-reference their relative borders. The border has a field pointing to the drawing properties. I need to update this drawing property (keyword) based on the file name of the drawing as follows:
Filename: Drawing-SH3.dwg
Keyword Value: -S.H. 3-
I need to go into each drawing anyway for various reasons, so a routine that goes through multiple drawings at once is viable but not needed. I just want to automate the process of updating the drawing number without having to go through the pull down menu-> drawing properties, etc.
The VERY basic outline:
Retrieve current filename "Sample-SH3.dwg"
Set to variable
Truncate variable to "SH3"
Format variable to "-S.H. 3-"
Insert variable into keyword drawing property
End
The pathetic begging and pleading paragraph:
I know this is the lazy way of doing it... essential asking someone to do it for me with a lisp via these forums. I am praying that someone out there wants the challenge. I just don't have the time to sort through the routine, with all these projects pending. Same story everywhere, right?