axes icon

Technical discussions
Post Reply
geluojjj
Posts: 1
Joined: Fri Nov 01, 2013 2:31 am

axes icon

Post by geluojjj »

How can i create a small globalaxes with x,y,z like the DIStudio shows?
Thank you.

rocky35
Posts: 2
Joined: Thu Sep 05, 2013 5:23 am

Re: axes icon

Post 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

Post Reply