jkramer
05-12-2005, 04:02 AM
Hi,
I made a Lisp routine that lists volume and density of all 3d-parts in an assy.
This was easy and straightforward.
HOWEVER, for one reason or another the listed volumes are all the same. The volume value is the right one for the first 3d-part in the list, and all the others are given this same value ??!!
I've been doing all kinds of experiments (sd-call-cmds etc.), but I keep getting the same error. This goes for both OSD 11 and OSD 13.
Another weird problem: both in OSD 11 and OSD 13 we use mm/deg/g units, but the volume results are completely different results (OSD 13 displays the right ones). sd-sys-to-user-units doesn't change it, and OSD 13 doesn't recognise this command??!!
I attached the lisp code.
Anyone have a clue what's wrong???
Thanks!
Regards,
Jaap
I made a Lisp routine that lists volume and density of all 3d-parts in an assy.
This was easy and straightforward.
HOWEVER, for one reason or another the listed volumes are all the same. The volume value is the right one for the first 3d-part in the list, and all the others are given this same value ??!!
I've been doing all kinds of experiments (sd-call-cmds etc.), but I keep getting the same error. This goes for both OSD 11 and OSD 13.
Another weird problem: both in OSD 11 and OSD 13 we use mm/deg/g units, but the volume results are completely different results (OSD 13 displays the right ones). sd-sys-to-user-units doesn't change it, and OSD 13 doesn't recognise this command??!!
I attached the lisp code.
Anyone have a clue what's wrong???
Thanks!
Regards,
Jaap