View Single Post
  #1  
Old 09-04-2015, 12:04 AM
jkramer's Avatar
jkramer jkramer is offline
Registered User
 
Join Date: Oct 2002
Location: the Netherlands
Posts: 382
Position - Align Axis in Lisp - how?

Hi,

I'm trying to Position a part with Align Axis in Lisp, but whatever I try, it doesn't work... This is the most logical syntax I could come up with:
Code:
	(sd-call-cmds(pos_dynamic :objects-by-selection (sd-pathname-to-obj "/Isolated_Torus")  :mate-align-method :on :align-axis :on  cyl1  Adjface1 cyl2 Adjface2))
cyl1 and cyl2 are cylindrical faces on the moving part, Adjface1 and Adjface2 are cylindrical faces on a reference part.
I also tried the old position_pa command, but also with no success. Translations work fine, but Align Axis is the problem.
Any clues?
Thanks!!
Jaap
Reply With Quote