#1
|
|||
|
|||
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 |
#2
|
||||
|
||||
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/ |
#3
|
||||
|
||||
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.. |
#4
|
||||
|
||||
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/ |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | Search this Thread |
Display Modes | Rate This Thread |
|
|