Go Back   AC3D Forums > Resources > AC3D Scripts and Mods
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 8th February 2018, 10:33 PM   #1
Mark_M
Junior Member
Junior member
 
Join Date: Nov 2005
Location: Edmond, OK.
Posts: 9
Default Export Object Names

Does anyone have a script, or capability to create one, to export the name, size and coordinates of objects to a csv text file. I model a lot of different things before I build them and would like to be able to export a parts list.

Any help would be greatly appreciated
Mark_M is offline   Reply With Quote
Old 13th February 2018, 02:07 PM   #2
Andy
Administrator
Professional user
 
Andy's Avatar
 
Join Date: Jun 2003
Posts: 4,382
Default Re: Export Object Names

I don't know of a script.

Not sure what you want in the size - if you want the bounding box, you may need to calculate that from the vertices. Easier if you want just the number of vertices.

If you have some unix tools, like grep, installed you could probably do something like this with a .ac file:

egrep "OBJECT|numvert" car.ac

OBJECT world
OBJECT poly
numvert 102
OBJECT poly
numvert 61
OBJECT poly
numvert 61
OBJECT poly
numvert 61
OBJECT poly
numvert 61
Andy is offline   Reply With Quote
Old 13th February 2018, 04:56 PM   #3
Mark_M
Junior Member
Junior member
 
Join Date: Nov 2005
Location: Edmond, OK.
Posts: 9
Default Re: Export Object Names

I basically have all items named with their sizes, ie: (Lumber 2 x 4 x 92.625).
So I really just need to export object names.
Mark_M is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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



All times are GMT -4. The time now is 04:00 PM.


AC3D Forum
(C) Inivis Limited 2020