CoCreate User Forum  

Go Back   CoCreate User Forum > Support > Customization

Thread Tools Search this Thread Rate Thread Display Modes
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?


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:
	(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?
Reply With Quote
Old 10-26-2015, 08:25 AM
Mike_Maenpaa Mike_Maenpaa is offline
Registered User
Join Date: Aug 2013
Posts: 14
Re: Position - Align Axis in Lisp - how?

Hi Jaap,

Did you get this solved?

I may need to doing something like this also.
Take a look in the Help file at MATE_ALIGN_PART_SA and see if that helps.

Reply With Quote
Old 11-05-2015, 11:00 PM
rvn rvn is offline
Registered User
Join Date: Mar 2011
Posts: 52
Re: Position - Align Axis in Lisp - how?

I'm trying to use this command
(sd-call-cmds (POSITION_PA (sd-inq-parent-obj face1) (POSITION_PA_SA :MATE_ALIGN :MATE_FACES face1 face6)))
But I can't get it to work. Is there anybody who has some more experience with this command?
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -8. The time now is 06:26 AM.

Hosted by SureServer    Forums   Modeling FAQ   Macro Site   Vendor/Contractors   Software Resellers   CoCreate   Gallery   Home   Board Members   Regional User Groups  By-Laws  

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.