lanse
08-23-2005, 05:00 PM
Dear all,
I'm using lisp coding to create a coincidentan in assembly relation. but there is alwasy an error message displayed " Illegal call to action routine."
My coding is as below,
(defun p-coincide-parts (p_name p_relation p_face1 p_face2)(let()
(sd-call-cmds (assembly_relation :COINCIDENT
:FIRST_REF p_face1
:SECOND_REF p_face2
:name p_name
:NORMALS_OPPOSITE
:auto-solve :YES COMPLETE
)
)
))
where, p_face1 and p_face2 are two element (plane), p_name relation name. I activated a assembly relation set "p_relation" to be current relation set.
I also used "create_relation" command, but got the same result.
Who can help me to the reason why I got this result. My research has been stopped by this problem as my coding couldn't continue.
thanks for any reply.
lanse
I'm using lisp coding to create a coincidentan in assembly relation. but there is alwasy an error message displayed " Illegal call to action routine."
My coding is as below,
(defun p-coincide-parts (p_name p_relation p_face1 p_face2)(let()
(sd-call-cmds (assembly_relation :COINCIDENT
:FIRST_REF p_face1
:SECOND_REF p_face2
:name p_name
:NORMALS_OPPOSITE
:auto-solve :YES COMPLETE
)
)
))
where, p_face1 and p_face2 are two element (plane), p_name relation name. I activated a assembly relation set "p_relation" to be current relation set.
I also used "create_relation" command, but got the same result.
Who can help me to the reason why I got this result. My research has been stopped by this problem as my coding couldn't continue.
thanks for any reply.
lanse