#1
|
|||
|
|||
Parts 3D count
Hi to all.
Someone know how to count 3D parts with same name? If you see attach picture there are 4 parts with name 'back-plate-cap-screw', the cad rename this with extension .1 .2 .3 and the folder indicate (4)..... How can I count or retrive this number (4) in lisp??? Thanks to all.... Device |
#2
|
|||
|
|||
Re: Parts 3D count
there is a macro on the osd.de site that claims to do that but it is german so you can try it and see what you get.
http://osd.cad.de/lisp_3d_17.htm |
#3
|
|||
|
|||
Re: Parts 3D count
Do not know if you are still working on this. I have written code which does something related to this. Basically, I start at the top part, create a list of all of the child objects, check to see if any of these are parts - at which point you could check for similar names, or if the object contains children, you could parse the children and check for similar names. Let me know if you are looking for more specific "SD" commands.
Thanks. Scott |
#4
|
|||
|
|||
Re: Parts 3D count
Are you looking for shared parts, or any parts that have the same name? There are different approaches depending on what you really want.
Let us know and we can provide more details.
__________________
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! |
#5
|
|||
|
|||
Re: Parts 3D count
Quote:
greetings, Henk Last edited by yankeebass; 08-28-2013 at 12:38 AM. |
#6
|
|||
|
|||
Re: Parts 3D count
Will the command "sd-inq-obj-shared-objects" do what you need?
__________________
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! |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | Search this Thread |
Display Modes | Rate This Thread |
|
|