AutoCAD 2007/2008/2009

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

dim style keeps overriding

308 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,279
Registered: ‎09-16-2009
Message 2 of 7 (305 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 (302 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,279
Registered: ‎09-16-2009
Message 4 of 7 (299 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 (297 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,279
Registered: ‎09-16-2009
Message 6 of 7 (271 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,195
Registered: ‎12-11-2003
Message 7 of 7 (262 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
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.