Or you could download Read Points from File from
http://www.kwikmcad.com/icode/macros.asp and change the line that puts a workpoint
at the coordinate to a routine that imports a pre-made cube.ipt to those
coordinates.
For more info on VB(A)
Inventor Customization (VBA and VB)
http://discussion.autodesk.com/forum.jspa?forumID=120
news://discussion.autodesk.com/autodesk.inventor.customization
--
Duncan
"Humour ... is one man shouting gibberish in the face of authority, and proving by
fabricated insanity that nothing could be as mad as what passes for ordinary
living."
(Terence 'Spike' Milligan K.B.E., 1918-2002)
www.autodesk.co.uk/inventorjobs
http://support.microsoft.com/default.aspx/kb/555375
"MarcoA" wrote in message
news:5594769@discussion.autodesk.com...
il giorno 23/05/2007 11.54 Tomassini Sandro ha scritto:
> I have the gravity center coordinates of more than 2000 objects in a
> excel spreadsheet. The idea is to create an assembly made of a layout of
> workpoints and cubes with the length side read from the same
> spreadsheet and constrained in the center of gravity.
> The macro should create the layout of workpoint, for each workpoint the
> cube and then the final assembly placing each cube in its position.
This link contain what could be a starting point:
http://www.xanadu.cz/en/apps/importcoord/
M.