|
how to transform a point in sketch space to assembly space
how to transform a point in sketch space to assembly space.
especial assembly space,not component or part space.thanks!
i don't understand you question.
chris
solidworks/pdmworks 08 3.1
autocad 08
your question is confusing because "sketch space" exists in both "assembly space" and "part space".
"art without engineering is dreaming; engineering without art is calculating."
is this a macro/api question?
wangyanhuan2,
if you defined a 2d sketch, then all your points are going to be on the plane of the 2d sketch. try a 3d sketch.
sketch space and assembly space sound like autocad terms. this is not very meaningful in solidworks.
jhg
definitely sounds like an api question. look for the distance mate macro i've posted here. it transforms a component's origin point into assembly space.
-handleman, cswp (the new, easy test)
thank you!
ctopher
madmango
thetick
drawoh
handleman
this is a api question.
there is a example in solidworks api help, "transform point from component space to assembly space example (vb)"
but now, i want to transform a point in sketch space to assembly space.
preconditions:
(1) assembly document is open.
(2) 3d sketch of component is selected.
(3d sketch has one line,for example: startpoint(0,0,0),endpoint(1,2,3))
if the component's origin under assembly space is (100,100,100), startpoint of the line is (100,100,100) and endpoint is (101,102,103).
postconditions:
transform a point in sketch space to assembly space.
thank for your help!
check the help again. there is also an example for translating from sketch space to model space. you will have to do two transforms in sequence. there is no direct sketch-to-assembly route.
-handleman, cswp (the new, easy test) |
|