AutoCAD Electrical Forum
Welcome to Autodesk’s AutoCAD Electrical Forums. Share your knowledge, ask questions, and explore popular AutoCAD Electrical topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

lsp routine and sheet values

1 REPLY 1
Reply
Message 1 of 2
acade2012
279 Views, 1 Reply

lsp routine and sheet values

Hello All,

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

 

thank

 

Dennis

1 REPLY 1
Message 2 of 2
PatMurnen_Adsk
in reply to: acade2012

Dennis,

 

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.



Pat Murnen
Principal Content Developer
Product Development – AutoCAD Product Line Group

Autodesk, Inc.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost