AutoCAD Mechanical General

Reply
Active Contributor
KristinLindberg
Posts: 40
Registered: ‎10-11-2010
Message 1 of 3 (258 Views)
Accepted Solution

I'm probably crazy, but I want to make a drawing template so DWGPROPS pops up...

258 Views, 2 Replies
01-17-2014 08:52 AM

Okay, I might be crazy as far as even attempting to do something like this.

Or, it could be simple and I'm overthinking it.

Either way...

 

First:

I want to create a field that counts blocks.

Sort of like a BOM, but without using that actual feature.

(I just don't like the way it functions)

I just want it to be cohesive with my title block.

 

Second:

Is there a way to set up a drawing template to throw the DWGPROPS screen in a user's face instead of going directly to model space?

I have title block set up with fields and custom fields to pull layout tab names, title, client number, etc.

 

Thanks.

AutoCAD Mechanical 2013 SP2
AutoCAD 2013 SP2
Distinguished Mentor
Posts: 728
Registered: ‎07-10-2007
Message 2 of 3 (245 Views)

Re: I'm probably crazy, but I want to make a drawing template so DWGPROPS pops u

01-17-2014 11:28 AM in reply to: KristinLindberg

The solution for your second question is easy. Save the code below as lisp file, then put it in your the startup suite in your template drawing. (Use APPLOAD for dialog to load and insert into startup suite)

 

(defun c:smileyvery-happy:PROPS ()
 (command "DWGPROPS")
 (princ)
 )
 (c:smileyvery-happy:PROPS)

 

You can change/shorten the "DPROPS" to anything you want. AutoCAD will load it upon startup and the dialog will open automatically when you open the template.

 

(Smiley face is a colon) A feature they really need to get rid of.

Active Contributor
KristinLindberg
Posts: 40
Registered: ‎10-11-2010
Message 3 of 3 (243 Views)

Re: I'm probably crazy, but I want to make a drawing template so DWGPROPS pops u

01-17-2014 11:29 AM in reply to: steve216586
A-ha!
Thanks so much! I knew it would be simple.
I was completely over-thinking it.

Kristin Lindberg
AutoCAD Mechanical 2013 SP2
AutoCAD 2013 SP2

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 interested in helping shape the Autodesk Community?
We’re looking at a few different ways to improve the “All Forums” landing page and need your feedback! If interested, please take a few minutes to fill out the following Usability Study. Thank you for your time!

Need installation help?

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

Ask the Community