Visual LISP, AutoLISP and General Customization

Visual LISP, AutoLISP and General Customization

Reply
Active Contributor
rakesh_rao
Posts: 30
Registered: ‎01-14-2005
Message 1 of 2 (190 Views)

Opening a DWG containing dynamic blocks using SCRIPTS

190 Views, 1 Replies
04-22-2012 07:59 PM

 

****** I posted this in the AutoCAD forum with no response so here I am trying to see if anyone can help me with this query.

 

 

Hello,

 

 

 

Does anyone know how to open an dynamic block DWG using a script and not have the "This drawing contains authoring elements. Do you want to open in block editor" message?

 

I cannot seem to get rid of this message and everytime I have to manually say "No" and let the script run.

 

Regards

Rakesh Rao

 
- rakesh.rao@4d-technologies.com
- www.4d-technologies.com / www.coordsys.com
- Blog:EN: http://rakeshrao.typepad.com
- Blog: ES: http://kiranabhat.typepad.com
*Expert Elite*
pbejse
Posts: 2,406
Registered: ‎11-24-2009
Message 2 of 2 (183 Views)

Re: Opening a DWG containing dynamic blocks using SCRIPTS

04-22-2012 09:44 PM in reply to: rakesh_rao

rakesh_rao wrote:

 

****** I posted this in the AutoCAD forum with no response so here I am trying to see if anyone can help me with this query.

 

 

Hello,

 Does anyone know how to open an dynamic block DWG using a script and not have the "This drawing contains authoring elements. Do you want to open in block editor" message?

 

I cannot seem to get rid of this message and everytime I have to manually say "No" and let the script run.

 

Regards

Rakesh Rao

 

you can try using

_fileopen

 

This example change the color to yellow


_fileopen "D:/Folder/Filename.dwg"
_chprop
_all

_color
2

_qsave

 

HTH

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community