• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    AutoCAD Electrical

    Reply
    Mentor
    Posts: 181
    Registered: ‎02-05-2008

    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").

     

     
    Please use plain text.
    Mentor
    johnq
    Posts: 216
    Registered: ‎05-24-2011

    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

     

     

     

     

    Please use plain text.
    Active Contributor
    Posts: 43
    Registered: ‎02-07-2013

    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?

    Please use plain text.