CoCreate User Forum  

Go Back   CoCreate User Forum > Support > Customization

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 09-29-2010, 01:00 AM
device0712 device0712 is offline
Registered User
 
Join Date: Nov 2009
Posts: 43
Question Get basename of assembly group

Hi to all!
I need to know how to retrive the basename of a group (assembly parts), for example for part (/p1) the command is:
(setf Obj (sd-inq-curr-part))
(setf szbasename (sd-inq-obj-basename Obj))

For /g1??

Thanks
Device
Reply With Quote
  #2  
Old 09-29-2010, 06:01 AM
clausb's Avatar
clausb clausb is offline
Registered User
 
Join Date: Nov 2002
Posts: 1,168
Re: Get basename of assembly group

(display (oli:sd-inq-obj-basename (oli:sd-pathname-to-obj "/g1")))
__________________
CoCreate Modeling FAQ: http://www.clausbrod.de/CoCreateModeling/
Reply With Quote
  #3  
Old 06-13-2012, 02:39 AM
Shaba's Avatar
Shaba Shaba is offline
Registered User
 
Join Date: Nov 2006
Location: Italy
Posts: 215
Re: Get basename of assembly group

(display (oli:sd-inq-obj-basename (oli:sd-pathname-to-obj "/g1")))

Why need to put also "oli" ?
I never understood this..
Reply With Quote
  #4  
Old 06-13-2012, 03:22 AM
clausb's Avatar
clausb clausb is offline
Registered User
 
Join Date: Nov 2002
Posts: 1,168
Re: Get basename of assembly group

oli is the name of a Lisp package, which is (kind of) equivalent to the concept of namespaces in other languages.
__________________
CoCreate Modeling FAQ: http://www.clausbrod.de/CoCreateModeling/
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:54 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.