CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] ARKANCE | CONTACT - CZ | SK | EN | DE
Over 1.091.000 registered users (EN+CZ). AutoCAD tips, Inventor tips, Revit tips. Try the new precise Engineering calculator. New AutoCAD 2026 commands and variables.
RSS channel - CAD tips RSS tips
RSS discussions

Discussion Discussion forum

?
CAD discussions, advices, exchange of experience

CAD Forum - Homepage CAD discussion forum - ask any CAD-related questions here, share your CAD knowledge on AutoCAD, Inventor, Revit and other Autodesk software with your peers from all over the world. To start a new topic, choose an appropriate forum.

Please abide by the rules of this forum.
This is a peer-to-peer forum. The forum doesn't replace the official direct technical support provided by ARKANCE for its customers.
How to post questions: register or login, go to the specific forum and click the NEW TOPIC button.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Topic ClosedAutomated Styles Updates

 Post Reply Post Reply
Author
RLory View Drop Down
Newbie
Newbie


Joined: 04.Aug.2008
Location: United Kingdom
Using: AutoCAD 2012 and 2014
Status: Offline
Points: 4
Direct Link To This Post Topic: Automated Styles Updates
    Posted: 20.Apr.2016 at 10:38
Morning,
 
First of all my sincere apologies for my English, since its not my main language you might find some mistakes,
 
Second I must confess (if anyone from CADForum.cz reads this topic) that I've been using your website for tips for a long time but unfortunately I never created a topic (that I remember) so my apologies once more if I don't do anything the way it should be done.
 
Right, going to the subject itself, I'm trying to write a Macro where when I click it updates everything to what I want.
 
Trying to explain in a different way, the same way I created some Macros for example to run automatically PSLTSCALE and DIMSCALE I'm trying to find a way that when I open a drawing and the drawing is not according to any standards or is "all over the place" it will update dims, text, scale automatically to what I want.
 
Does it make sense what I'm trying to explain?
 
In other words, some sort of "update all" button.
 
I know there's the LISP option BUT I must confess, I wrote one ages ago and I well remember that I spent around a day trying to find what was wrong with it because it wasn't working, till I found out in a certain area it was a "dot (.)" when should be a "comma (,)".
 
So I kind of left LISP option aside for what I'm trying to achieve now.
 
Any help on this would be brilliant.
 
Thanks for reading even if you don't have any ideas or any answers.
 
Best regards
RL
Back to Top
Vladimir Michl View Drop Down
Moderator Group
Moderator Group

Arkance Systems CZ

Joined: 26.Jul.2007
Location: Czech Republic
Using: Autodesk software
Status: Offline
Points: 2098
Direct Link To This Post Posted: 20.Apr.2016 at 12:26
There is the CAD Standards function which might help in some situations. But if you need some specific type of "automatic checks and updates", I am afraid you will need VisualLISP or some of the high level programming languages (.NET) to code exactly the functionality which you expect.
Vladimir Michl (moderator)
ARKANCE - https://arkance.world - Autodesk Platinum Partner
Back to Top
RLory View Drop Down
Newbie
Newbie


Joined: 04.Aug.2008
Location: United Kingdom
Using: AutoCAD 2012 and 2014
Status: Offline
Points: 4
Direct Link To This Post Posted: 20.Apr.2016 at 12:51

Thanks for your reply.

After that situation I explained LISP feels like a nightmare.
Thought I could go there with Macros which I think they're a lot simpler to work with.
 
VisualLISP still scares the heck out of me hahahah, still, going to read more into it to find out how to carry on a VisualLISP.
 
Thanks for you help though.
Back to Top
John Connor View Drop Down
Senior Member
Senior Member


Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
Direct Link To This Post Posted: 20.Apr.2016 at 13:34
System variables can easily be set using simple lisp routines that can be included in acaddoc.lsp and loaded via the Startup Suite.  Example:

(SETVAR "PSLTSCALE" 1)

(SETVAR "DIMSCALE" 0.5)

(princ "System variables have been reset")


"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>

Back to Top
RLory View Drop Down
Newbie
Newbie


Joined: 04.Aug.2008
Location: United Kingdom
Using: AutoCAD 2012 and 2014
Status: Offline
Points: 4
Direct Link To This Post Posted: 21.Apr.2016 at 10:09
Thanks.
Very much appreciated for help.
 
Best Regards
Back to Top

Related CAD tips:


 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0,086 seconds.