Print Page | Close Window

Connect variables to dimension value

Printed From: CAD Forum
Category: EN
Forum Name: AutoCAD
Forum Description: Discussion about AutoCAD and AutoCAD LT, viewers, DWG and DWF formats, Design Review, AutoCAD 360, add-ons
URL: https://www.cadforum.cz/forum_en/forum_posts.asp?TID=10101
Printed Date: 31.May.2026 at 22:58


Topic: Connect variables to dimension value
Posted By: slavasp
Subject: Connect variables to dimension value
Date Posted: 06.Mar.2014 at 09:20
Hello all, I added in AutoCad 2006 two variables. 

Firstly, constant "$Dim1= 3000" 
Secondary, function "ddd=$Dim1-100" 

How I can connect line geometry dimension value to function? 
Is mean when I change constant automatically update line geometry dimension value.


Thanks
Stanislav


-------------
Best Regards

Stanislav Spektor
Mechanical Designer



Replies:
Posted By: Vladimir Michl
Date Posted: 06.Mar.2014 at 11:31
What kind of variables are they? LISP variables?
 
You can use parametric geometry since AutoCAD version 2010 - you can define any number of parameters and use parametric dimensions (see e.g. DCLINEAR command). Changing the parameter will then change the geometry.


-------------
Vladimir Michl (moderator)
ARKANCE - https://arkance.world" rel="nofollow - https://arkance.world - Autodesk Platinum Partner


Posted By: Vladimir Michl
Date Posted: 06.Mar.2014 at 11:34
See also
 


-------------
Vladimir Michl (moderator)
ARKANCE - https://arkance.world" rel="nofollow - https://arkance.world - Autodesk Platinum Partner


Posted By: John Connor
Date Posted: 06.Mar.2014 at 11:37
Now that's funny.  The moderator posts a link that is blocked.  You don't see that very often.


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

<<AutoCAD 2015>>



Posted By: Vladimir Michl
Date Posted: 06.Mar.2014 at 11:55
Do you see the embedded video as a blocked link? Strange, I am not aware of any blocking.

-------------
Vladimir Michl (moderator)
ARKANCE - https://arkance.world" rel="nofollow - https://arkance.world - Autodesk Platinum Partner


Posted By: John Connor
Date Posted: 06.Mar.2014 at 12:06
The blocking must be at my end.  A company thing re: streaming video I believe.  Sorry about that.


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

<<AutoCAD 2015>>



Posted By: philippe JOSEPH
Date Posted: 06.Mar.2014 at 13:27
We too have it blocked :

                Due to high internet utilization access to http://www.youtube.com/v/UvMzMtoTnp4 has been temporarily blocked to restore stability of

                internet browsing services in this region.  We apologize for any inconvience this has caused and we are working deligently to resolve

                this matter.

                   
                Reason: The category "Mixed Content/Potentially Adult" is filtered.

                Requested URL: http://www.youtube.com/v/UvMzMtoTnp4

                Please review the internet usage policy stated in https://online.alstom.com/Policies/ebook/eBook12/Pages/12-8-Mail-and-Web-browsing-Code-of-Conduct.aspx" rel="nofollow - C.I. 12.8 on the Altair website and direct any further questions to your local service desk.

 




Print Page | Close Window