I run a LSP routine to create a drawing package. It sets up layout, Pneumatic, high voltage, low voltage and panel layout drawings.
It pulls them from a template project.
If you right click on a drawing, then properties, then drawing properties, under sheet values is sheet.
When I import the drawings that sheet value doesn't change.
How can I get that value to reflect the correct value?
I have been able to get the drawing numbers to be correct and need the sheet value to reflect that same value
I.E.. I import drawing 12345_MCP_001
I need the sheet value to also change to the 001
Any thoughts would be greatly appreciated
The SHEET value for a drawing is held on a SHEET attribute on a block called WD_M. This block should be on every AcadE drawing. If it isn't there you can use the API (c:ace_GBL_wd_m 1) to insert it. Then use standard lisp commands to get the entity name for it and then you could use the API (c:wd_modattrval ben "SHEET" "001" 1) where "001" is the sheet value.
Access a broad range of knowledge to help get the most out of your products and services.
Start with some of our most frequented solutions to get help installing your software.
The AutoCAD Electrical forum has moved into it's very own category page, and can no longer be found within the Additional Product Forums.