Over 1.106.000 registered users (EN+CZ).
AutoCAD tips, Inventor tips, Revit tips, Civil tips, Fusion tips.
Try the new precise Engineering calculator.
New AutoCAD 2026 commands and sys.variables and env.variables,.
Discussion forum
?CAD discussions, advices, exchange of experience
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.
|
Post Reply
|
| Author | |
RLory
Newbie
Joined: 04.Aug.2008 Location: United Kingdom Using: AutoCAD 2012 and 2014 Status: Offline Points: 4 |
Topic: Automated Styles UpdatesPosted: 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 |
|
![]() |
|
Vladimir Michl
Moderator Group
Arkance Systems CZ Joined: 26.Jul.2007 Location: Czech Republic Using: Autodesk software Status: Offline Points: 2144 |
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 |
|
![]() |
|
RLory
Newbie
Joined: 04.Aug.2008 Location: United Kingdom Using: AutoCAD 2012 and 2014 Status: Offline Points: 4 |
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.
|
|
![]() |
|
John Connor
Senior Member
Joined: 01.Feb.2011 Location: United States Using: AutoCAD 2018 Status: Offline Points: 7175 |
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>> |
|
![]() |
|
RLory
Newbie
Joined: 04.Aug.2008 Location: United Kingdom Using: AutoCAD 2012 and 2014 Status: Offline Points: 4 |
Posted: 21.Apr.2016 at 10:09 |
|
Thanks.Very much appreciated for help.
Best Regards
|
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
This page was generated in 0,156 seconds.
![CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]](/common/arkance_186.png)


Automated Styles Updates
Topic Options


