I am trying to write a program that will allow the user to write some custom property data to an assembly document when the user graphically selects a component. The problem is that when the user selects the component they have of course selected the component not the assembly that the component resides in. And to further complicate the matter the component will have multiple parents.
Consider a standard desk and we have 50 of these desks with different people sitting at each desk. We would want to create 50 desk assemblies all referencing the same desk part file (so single child with 50 parents), the user while in sw will pick the desk, launch the program and input data that they want recorded to that particular desk assembly but I am not sure how via the API we can get a very specific parent for a child that has many parents.
Anyone have any suggesstions?