
Posts
|
I want to create a label in a 3D view. I have not problem to create it but it is not at the good position in the Z axis view. First: I select the position of the leader of the label I want that the depth of my label is in this depth Second :I indicate the position of my text label
I can't have the good position in Z of my label. Do you have a solution ?
example:
worldtocplane Pos1 // Array of position of the leader label worldtocplane Ext1 // Array of position of the text label
decx=(Ext1[0]-Pos1[0]) decy=(Ext1[1]-Pos1[1]) decz=(Ext1[2]-Pos1[2]) Points[0] =-(0.5*decx) Points[1] = HautText/2 Points[2] = -decx Points[3] = -decy
cplanetoworld Pos1 cplanetoworld Ext1
tmpx=Ext1[0] tmpy=Ext1[1] tmpz=Ext1[2]
// ****************************************************************************
Clear hLabel,hLeader,hBalloon,Fle1,Fle2,HtFle HENTITY hLabel,hLeader,hBalloon
LOCATION hCoordBallon, 0, tmpx, tmpy, tmpz
DOUBLE Fle1,Fle2,HtFle
IF (TypeRep==1) { LABEL $NomCouc,2,Points, anLengths,tmpx,tmpy,tmpz,0,0,0,1,0,,adTextAtt NoteState }
|