AutoCAD Mechanical General

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

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

313 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
steve216586
Posts: 825
Registered: ‎07-10-2007
Message 2 of 3 (300 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 (298 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 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