Message 1 of 8
Access parts quickly?
Not applicable
12-03-2001
01:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am trying to write a program where I will often be needing to change values on
components. When the program starts up I iterate thru the assembly tree and get all the
component names, and some of the settings and store them in a treeview control.
My question is,....
When I go to modify a component, short of iterating thru the whole assembly tree and
comparing the name I have in the treeview against the documents component names until I
come to the right one, is there a quicker easier way?
It sure would be nice if the "Inventor.AssemblyDocument" contained a complete component
listing without having to go down thru all the subs, and we could access it with
.item(componentname). It would of course have to have the subassembly name(s) prefixing
the actual component name.
--
Kent
components. When the program starts up I iterate thru the assembly tree and get all the
component names, and some of the settings and store them in a treeview control.
My question is,....
When I go to modify a component, short of iterating thru the whole assembly tree and
comparing the name I have in the treeview against the documents component names until I
come to the right one, is there a quicker easier way?
It sure would be nice if the "Inventor.AssemblyDocument" contained a complete component
listing without having to go down thru all the subs, and we could access it with
.item(componentname). It would of course have to have the subassembly name(s) prefixing
the actual component name.
--
Kent