CoCreate User Forum  

Go Back   CoCreate User Forum > Support > Customization

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 07-31-2008, 04:51 AM
ssusana ssusana is offline
Registered User
 
Join Date: Aug 2004
Location: Italy
Posts: 60
select a face and inquire the owner part

In a SD-DEFDIALOG I have a a :face variable (TEST_FACE), how can I inqure the part owner?

I try
(current_part(sd-call-cmds (get_selection :focus_type *sd-part-seltype* :select TEST_FACE) :failure nil))

but it not works

Thanks
Reply With Quote
  #2  
Old 07-31-2008, 06:00 AM
clausb's Avatar
clausb clausb is offline
Registered User
 
Join Date: Nov 2002
Posts: 1,168
Re: select a face and inquire the owner part

Try sd-inq-parent-obj (see IKIT documentation for details).

Claus
__________________
CoCreate Modeling FAQ: http://www.clausbrod.de/CoCreateModeling/
Reply With Quote
  #3  
Old 07-31-2008, 06:08 AM
ssusana ssusana is offline
Registered User
 
Join Date: Aug 2004
Location: Italy
Posts: 60
Re: select a face and inquire the owner part

Thank Clausb,
I thinked that 'sd-inq-parent-obj' works only with parts!!
Reply With Quote
  #4  
Old 07-31-2008, 11:46 AM
Andy Poulsen Andy Poulsen is offline
Administrator
 
Join Date: Apr 2003
Location: Fort Collins, Colorado
Posts: 273
Re: select a face and inquire the owner part

Quote:
Originally Posted by ssusana View Post
Thank Clausb,
I thinked that 'sd-inq-parent-obj' works only with parts!!
There is definitely lots to learn! The integration kit is very flexible -- many of the functions can be used for almost any type of object!

andy
__________________
Andy Poulsen
AI MAXTools: Dream. Design. Done. It's that easy!
Add-ins bringing new functionality and speed to Creo Elements/Direct and CoCreate products. Now available for v17-v20+!
See them in action at www.ai-maxtools.com and then try them for yourself -- FREE!
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 06:12 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.