CoCreate User Forum  

Go Back   CoCreate User Forum > Support > Customization

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 09-04-2015, 01:04 AM
jkramer's Avatar
jkramer jkramer is offline
Registered User
 
Join Date: Oct 2002
Location: the Netherlands
Posts: 378
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
  #2  
Old 10-26-2015, 09: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.

Mike
Reply With Quote
  #3  
Old 11-06-2015, 12:00 AM
rvn rvn is offline
Registered User
 
Join Date: Mar 2011
Posts: 46
Re: Position - Align Axis in Lisp - how?

I'm trying to use this command
Code:
(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
Reply


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 12:30 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 - 2020, Jelsoft Enterprises Ltd.