AutoCAD Electrical General Discussion

Reply
Mentor
vladop
Posts: 212
Registered: ‎02-05-2008
Message 11 of 13 (197 Views)

Re: rename Drawing Name

03-05-2013 03:06 AM in reply to: kani_mca

API function for opening project is c:wd_makeproj_current.

By opening some other project, active project is closed.

Again, this is LISP function.

I'm not sure, but in Visual Basic something like

ThisDrawing.SendCommand ("(c:wd_makeproj_current wdpfnam)") should be used,

where wdpfnam is full path of project ".wdp" file name (this project does not have to be displayed in the list i.e. does not have to be "open").

 

 
Mentor
johnq
Posts: 219
Registered: ‎05-24-2011
Message 12 of 13 (186 Views)

Re: rename Drawing Name

03-05-2013 04:47 PM in reply to: vladop

Hi Kani

 

I said I would follow this thread as I am interested.  I looked up what the code for what you are doing amd I ask:  WHY?

 

ACE is data base driven.   It will let you edit drawings using ACAD commands BUT it will "break" the data base.

 

This is from accidental experience and more learned contributers to this forum.

 

I have written FORTRAN, assembler for various chips and computers, HTML.

 

I am sure you will achieve what you are aiming toi achieve but will ACE work?   IMHO a big NO.  I am willing to listen and learn.

 

If you need non ACE users to see drawings then get a suitable free viewer.

 

Cheers with interest   John Q

 

 

 

 

Active Contributor
kani_mca
Posts: 43
Registered: ‎02-07-2013
Message 13 of 13 (177 Views)

Re: rename Drawing Name

03-05-2013 09:36 PM in reply to: vladop

It works well..

 

I want to close a project,instead of closing manually.

To close a project, right-click the project name and select Close.

 

I want to close project using command line function..can?

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
Manufacturing Community
The Manufacturing Community provides additional access to tips, tutorials, blogs and networking with peers.

Need installation help?

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

New AutoCAD Electrical Category!

The AutoCAD Electrical forum has moved into it's very own category page, and can no longer be found within the Additional Product Forums.

Ask the Community