jkramer
06-24-2004, 08:06 AM
Hi,
I discovered something today.... there's an error in one of the bend processes of our Sheet Advisor toolshop. I made a test-copy of the shop, and checked what would would happen if I'd just "repair" the shop. The problem is that if I do so, an "update View" on a sheet part using that process would change the flat on the drawing, and we don't want that.
So I want to find out exactly which parts use that particular process (I know there aren't many of them).
Therefore, I'm trying to write a Lisp routine that scans a complete assembly and prints all sheet features of all models in it.
Problem: I use the function "SHA_INQUIRE_FEATURES", but the Lisp routine won't work as soon as there's a non-sheet part in the assy. Is there a way around this?? For instance, if I'd have a function that tells me if a part is a valid sheet part, I could simply use the UIRE_FEATURES function only on the sheet parts. Or if I could tell the routine to just ignore errors...
Any clues?
Thanks!
Jaap
I discovered something today.... there's an error in one of the bend processes of our Sheet Advisor toolshop. I made a test-copy of the shop, and checked what would would happen if I'd just "repair" the shop. The problem is that if I do so, an "update View" on a sheet part using that process would change the flat on the drawing, and we don't want that.
So I want to find out exactly which parts use that particular process (I know there aren't many of them).
Therefore, I'm trying to write a Lisp routine that scans a complete assembly and prints all sheet features of all models in it.
Problem: I use the function "SHA_INQUIRE_FEATURES", but the Lisp routine won't work as soon as there's a non-sheet part in the assy. Is there a way around this?? For instance, if I'd have a function that tells me if a part is a valid sheet part, I could simply use the UIRE_FEATURES function only on the sheet parts. Or if I could tell the routine to just ignore errors...
Any clues?
Thanks!
Jaap