Linking AutoCAD Custom Drawing Props back to AcadE Proj Mgr

  • Oh no! An error has occurred!
  • You need to be logged in to do that.
  • You need to be logged in to do that.
  • You need to be logged in to do that.
  • You need to be logged in to do that.
  • You need to be logged in to do that.
  • You need to be logged in to do that.
  • You need to be logged in to do that.
  • You need to be logged in to do that.
  • You need to be logged in to do that.
  • You need to be logged in to do that.
  • You need to be logged in to do that.
  • You need to be logged in to do that.
  • You need to be logged in to do that.
  • You need to be logged in to do that.
  • You need to be logged in to do that.
  • You need to be logged in to do that.
  • You need to be logged in to do that.
  • You need to be logged in to do that.
  • You need to be logged in to do that.
  • You need to be logged in to do that.
  • Coinciding with the acquisition of VIA Development, Nate joined Autodesk in March of 2003 after a decade stint as an entrepreneur following a two-decade stint as a controls engineer and software applications developer at Owens-Corning. Nate is now the lead product architect for AutoCAD Electrical. He loves this stuff.

    About Nate

Latest Post

  • Linking AutoCAD Custom Drawing Props back to AcadE Proj Mgr
    February 2, 2007, 05:56 PM Nate Holt

    This one was a head-scratcher. A reseller wanted to know if it was possible to push values set in AutoCAD "Custom drawing properties" back into AutoCAD Electrical's project manager. Right now, the AcadE project manager will populate the AutoCAD custom drawing properties but not vice versa.

    The current state - Limited to just one-way update

    Here's the current state. In AutoCAD Electrical's project manager I right-click on a drawing entry and select the drawing properties options...

    dwgprops03.jpg

    ... and up pops the normal AutoCAD Electrical Drawing Properties dialog (for the active drawing). Changes I then make here get written back to the active drawing's settings block (the invisible WD_M block insert) or to the project definition file (the .wdp file).

    dwgprops01.jpg

    But this action also triggers the AcadE Project Manager to push a copy of these values out to the AutoCAD custom drawing properties.

    If I then launch the "Drawing Properties" from the generic AutoCAD "Files" pull-down menu, I can see that these values are now present and displayed in the drawing's custom properties (shown below).

    dwgprops02.jpg

    How can we push values back the other way?

    Thanks to Autodesk's Mike Sptizer for pointing out an AutoLISP approach. This uses a handful of "vla" calls from the Visual Lisp extensions to AutoLisp. The key part of the utility's code is shown here:

    dwgprops04.jpg

    You can download a full copy here. Appload it and give it a shot. Edit some values in the AutoCAD "Drawing Properties" dialog, then test by typing dwg_props_2_acade [Enter] and see if the AcadE-specific ones get pushed back into the AcadE drawing manager and the WD_M block on the active drawing.

    Don't hesitate to customize this example utility to meet your specific needs!

    0 Comment | Add Comment Controlling the Machine > All

Comments



You must be logged in to post a comment.

Subscribe to Blog

Want to keep up with the latest? Subscribe to the RSS feed today.

RSS

Tags

You must be logged in to add a tag.

Send to a Peer

You must login to share pages.

Feedback

Tell us what you think of the site.

Send Feedback