VBA
Discuss AutoCAD ActiveX and VBA (Visual Basic for Applications) questions here.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Why the rotation of Horizontal/Vertical Rotated dimensions are all 0?

1 REPLY 1
Reply
Message 1 of 2
huanbin_chen
163 Views, 1 Reply

Why the rotation of Horizontal/Vertical Rotated dimensions are all 0?

huanbin_chen
Community Visitor
Community Visitor

Does anyone have a way to check whether the rotated dimensions are horizontal or vertical? I used VBA to get the rotation value from Horizontal/Vertical Rotated dimensions,but rotation value are all 0.

0 Likes

Why the rotation of Horizontal/Vertical Rotated dimensions are all 0?

Does anyone have a way to check whether the rotated dimensions are horizontal or vertical? I used VBA to get the rotation value from Horizontal/Vertical Rotated dimensions,but rotation value are all 0.

1 REPLY 1
Message 2 of 2
ed57gmc
in reply to: huanbin_chen

ed57gmc
Mentor
Mentor

Although a dim entity inherits a Rotation property, it doesn't a apply to a rotated dimension. If you create one and select it, you will see that the Properties palette doesn't list the Rotation. A dim is a complex object, which part of it should list the angle? the dim line? the angle between point1 and point2?

Ed


Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
How to post your code.

EESignature

0 Likes

Although a dim entity inherits a Rotation property, it doesn't a apply to a rotated dimension. If you create one and select it, you will see that the Properties palette doesn't list the Rotation. A dim is a complex object, which part of it should list the angle? the dim line? the angle between point1 and point2?

Ed


Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
How to post your code.

EESignature

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

AutoCAD Inside the Factory


Autodesk Design & Make Report