Jump to content
Developer Wiki and Function Reference Links Read more... ×
WhoCanDo

Move dimension text left or right

Recommended Posts

If I place a constrained dimension with VS ( LinearDim ) , can I offset the text left or right with a VS command?

Share this post


Link to post

Kind of, but I have run out of time to play tonight.

 

SetObjectVariableBoolean(FSActLayer,29, False);
SetObjectVariableReal(FSActLayer,44,1');
ResetObject(FSActLayer);
RedrawAll;

29 turn off the Auto Position Text.

44 sets the dim text offset

 

Reset and Redraw are just there to make sure the update shows properly and are probably not needed.

 

But what I am seeing is that negative numbers offset to the left of the witness lines and positive numbers offset to the right of the witness lines (in a horizontal dimension). 

 

I have not figured out how to shift it and stay within the witness lines.

  • Like 1

Share this post


Link to post
Posted (edited)

It is percentages expressed as a decimal between the witness lines but I can't recall if it is only positive percentages leading to or from the starting witness or if negative percentages can also be used and it is from the mid point.

Edited by LarryO

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×