kukelyk
Industrial
- Mar 21, 2005
- 315
Hi.
In my code i have to directions:
Xdirection = workPart.Directions.CreateDirection(Linear_Edge, Sense.Forward, SmartObject.UpdateOption.AfterModeling)
Zdirection = workPart.Directions.CreateDirection(Planar_Face, Sense.Reverse, SmartObject.UpdateOption.AfterModeling)
for the orientation matrix, i need to vector3d type object.
The directions have vector property, so i tried this:
Xvec = Xdirection.vector
It throws error. what can be the problem?
I need then a YVec from the 2 above vector as Yvec=ZVec X XVec
but the Matrix functions not runs. How should I call them?
Dim orientation1 As Matrix3x3
UFSes.MTX3.initialize(Xvec,Yvec,orientation1)
Any help would be appreciated
----
kukelyk
In my code i have to directions:
Xdirection = workPart.Directions.CreateDirection(Linear_Edge, Sense.Forward, SmartObject.UpdateOption.AfterModeling)
Zdirection = workPart.Directions.CreateDirection(Planar_Face, Sense.Reverse, SmartObject.UpdateOption.AfterModeling)
for the orientation matrix, i need to vector3d type object.
The directions have vector property, so i tried this:
Xvec = Xdirection.vector
It throws error. what can be the problem?
I need then a YVec from the 2 above vector as Yvec=ZVec X XVec
but the Matrix functions not runs. How should I call them?
Dim orientation1 As Matrix3x3
UFSes.MTX3.initialize(Xvec,Yvec,orientation1)
Any help would be appreciated
----
kukelyk