2010-08-21 01:56 AM
2010-08-21 07:09 PM
2010-08-21 11:00 PM
2010-08-22 01:40 PM
2010-08-22 10:11 PM
2010-08-23 01:48 PM
abraxis wrote:Abe:
The View ID can come in as part of the drawing name. Is there a way to bring in the drawing name (By View: ID and Name) and delete the name leaving only the numbers as a workaround? The view id is always the first 6 digits e.g. 08-006 (category-number). Of course I would have to modify the name to omit the first 6 digits for the drawing title.
Not elegant, but I'm about to have the draftsmen enter that code 250 times to get this result, and on every job forward.
view_no = STRSUB (AC_DrawingName, 1, 6) view_name = STRSUB (AC_DrawingName, 7, 20) Text2 0, 0, view_no Text2 .05, 0, view_nameThe first STRSUB pulls out the View ID, this is simpler if the ID is always the same number of characters. The second STRSUB pulls out the View Name, I set the length to 20 characters, but yours may need to be longer depending on the longest name. You will need to revise parts of your Title to use this, but that should not be too hard. The Drawing Name needs to be set to "By View: ID + Name".