For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings

 

Need to speed up your development?
Have a look at our:

Samples & Tools

 

Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

AIS_LengthDimension issue

K Rutherford's picture
Forums: 

I’ve been using AIS_LengthDimension successfully along with setting the various types AIS_TOD_Unknown, AIS_TOD_Horizontal, and AIS_TOD_Vertical. Things having been working fine. However, when set to type AIS_TOD_Horizontal or AIS_TOD_Vertical and the value or length is 0.0 it switches to the opposite type. In other words, if I have it set to AIS_TOD_Vertical it correctly positions the arrows vertically until the length is 0.0, then it switches to horizontal. When set to Horizontal it has the same effect, shows the arrows horizontally until 0.0, then it switches them to vertical. I tried looking at the code for this functionality but nothing jumped out at me as being the problem. Any ideas would be greatly appreciated. I would post some snap shots of what is happened if this forum support pics. Thanks.

Kevin