Over 1.099.000 registered users (EN+CZ).
AutoCAD tips, Inventor tips, Revit tips.
Try the new precise Engineering calculator and the updated Barcode generator.
New AutoCAD 2026 commands and variables.
Discussion forum
?CAD discussions, advices, exchange of experience

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 | |
Silvia_sds ![]() Newbie ![]() Joined: 30.May.2013 Location: Italy Using: AutoCAD2013 Status: Offline Points: 2 |
![]() Posted: 30.May.2013 at 19:51 |
Hi everyone, I have a question about AutoCAD 2013: is it possible to assign a variable (for example to a line) instead a numerical value? So I'll be able to change it whenever I want without extend or trim lines.
Thank you
|
|
![]() |
|
Vladimir Michl ![]() Moderator Group ![]() Arkance Systems CZ Joined: 26.Jul.2007 Location: Czech Republic Using: Autodesk software Status: Offline Points: 2123 |
![]() |
What is a "numerical value" of a line? Do you mean its length, or XData record, or some kind of a label?
For length, you can use AutoCAD parametric functions (see the Parametric ribbon).
|
|
Vladimir Michl (moderator)
ARKANCE - https://arkance.world - Autodesk Platinum Partner |
|
![]() |
|
Kent Cooper ![]() Senior Member ![]() Joined: 12.Mar.2013 Location: United States Using: AutoCAD2020, 2023 Status: Offline Points: 686 |
![]() |
I'm not quite sure I understand exactly what you mean, either, but is something like LENGTHEN with the Total option what you want to do? You could build a function that would feed a variable into that for the total length, and leave the User to select Lines they want to be that length:
(command "_.lengthen" "_total" YourVariableValue)
|
|
![]() |
|
CarlB ![]() Senior Member ![]() Joined: 16.Oct.2009 Location: United States Status: Offline Points: 321 |
![]() |
If you did this, how would the changed variable know which end of the line to change, or if both?
|
|
![]() |
|
heinsite ![]() Senior Member ![]() Joined: 05.Feb.2009 Location: United States Using: AutoCAD 2014 Status: Offline Points: 640 |
![]() |
With parametric constraints AutoCAD knows which direction a line was drawn so it will know which end to modify. In this case however what the OP is calling a variable would actually involve changing a constant (line length).
Dave. |
|
Dave Hein, P.E.
Hawaii District Engineer Kona International Airport AutoCAD Certified Professional Autodesk Expert Elite |
|
![]() |
|
Kent Cooper ![]() Senior Member ![]() Joined: 12.Mar.2013 Location: United States Using: AutoCAD2020, 2023 Status: Offline Points: 686 |
![]() |
CarlB wrote:
If you did this, how would the changed variable know which end of the line to change, or if both? Lengthen with the Total option just moves the end nearer where you pick the object, leaving the other end in place. [I don't have a new-enough version to have constraints, which may affect that.] The variable would only be a number representing the desired length, though we still haven't heard from the OP about whether that's what is meant in their question.
|
|
![]() |
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,066 seconds.