Page 1 of 1

axes icon

Posted: Fri Nov 01, 2013 2:33 am
by geluojjj
How can i create a small globalaxes with x,y,z like the DIStudio shows?
Thank you.

Re: axes icon

Posted: Mon Nov 04, 2013 6:25 am
by rocky35
Hi geluojjj
I can think of three ways to draw set of axes, there can be more:
1. Create a dummy object: straight line from (0,0,0) to (L,L,L), make it invisible, but show the local frame. This will show axes of size L
2. If you do not need to show the xyz letters and use only color use IDraw and IDrawUtil interfaces to draw the lines directly
3. If you need the letters create lines and the pointers (invisible if you need to save space) as separate objects. Attach to each pointer a child facing label (http://www.dynoinsight.com/Help/Geom/Labels.aspx ) like in the label(ex) samples. This will position them dynamically near the pointers
Cheers