AutoCAD 2007/2008/2009

Reply
Active Member
wellsws
Posts: 8
Registered: ‎06-11-2012
Message 1 of 7 (311 Views)

dim style keeps overriding

311 Views, 6 Replies
06-13-2012 08:50 AM

We still use multiple dim styles for dimensioning (slowly moving over to annotative text).  I'm running into an issue where I save a template file with the multiple dim styles we use.  When I open the template, for some reason the first dim style, in this case "DIM 1", automatically has an overriden version when I open the dimension style manager.  Any ideas why this is happening?  I've attached an image showing what's happening.

*Expert Elite*
Patchy
Posts: 6,301
Registered: ‎09-16-2009
Message 2 of 7 (308 Views)

Re: dim style keeps overriding

06-13-2012 08:55 AM in reply to: wellsws

Do you have any autolisp loaded when your drawing started?

Active Member
wellsws
Posts: 8
Registered: ‎06-11-2012
Message 3 of 7 (305 Views)

Re: dim style keeps overriding

06-13-2012 09:01 AM in reply to: Patchy

I'm not sure.  How do I check to see if there are?  I'm pretty much a novice at this point.

*Expert Elite*
Patchy
Posts: 6,301
Registered: ‎09-16-2009
Message 4 of 7 (302 Views)

Re: dim style keeps overriding

06-13-2012 09:06 AM in reply to: wellsws

Start a drawing, hit F2, read and see what is loaded.

Active Member
wellsws
Posts: 8
Registered: ‎06-11-2012
Message 5 of 7 (300 Views)

Re: dim style keeps overriding

06-13-2012 09:12 AM in reply to: Patchy

Got it.  We are using a fastener lisp routine for steel shapes.  However, the overriding dim style is only happening in certain files.  The lisp routine is loaded with every file.  See attached image.

*Expert Elite*
Patchy
Posts: 6,301
Registered: ‎09-16-2009
Message 6 of 7 (274 Views)

Re: dim style keeps overriding

06-13-2012 09:46 AM in reply to: wellsws

Loaded is one thing, until you actually use a command in that lisp, that's when it change your dimstyle and not restoring it.

 

Why not try to stop Al steel program at start up  and see if your dimstyle will change.

*Expert Elite*
scot-65
Posts: 2,204
Registered: ‎12-11-2003
Message 7 of 7 (265 Views)

Re: dim style keeps overriding

06-13-2012 03:38 PM in reply to: wellsws

If you cannot find the source of this problem, use a band-aid.

In your S::smileyfrustrated:TARTUP, enter this at the very end:

 

(setvar 'CMDECHO 0)

(command ".dim" "Restore" (getvar 'DIMSTYLE) "Exit")

(setvar 'CMDECHO 1)

(princ)

 

???

Scot-65
Dyslexia is a permanent physical disability that cannot be seen.
Introverts is proof that there is indeed intelligent life on this planet.
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are You Going To Be @ AU 2014? Feel free to drop by our AU topic post and share your plans, plug a class that you're teaching, or simply check out who else from the community might be in attendance. Ohh and don't forgot to stop by the Autodesk Help | Learn | Collaborate booths in the Exhibit Hall and meet our community team if you get a chance!