Hey,I'm trying to make copy from family Document contain Extrusion (the Element i want to select ) and make copy of it in another Document "I mean there is two opened Documents where i select the element from the family file and paste it in another project file ".
My Code Sequence:
1.Make User selects the Element.
2.get Element ID and get its location
3.Make the user select the palce where he wants to make a copy of the element "it may be another Document" so before this ,I get the Active Document .
4.copy command by elemnt id and new position enetered by user.
The Problem is :
the active document command raises an exception with selection command and Now i don't know how to solve this issue?
, also is it will be IExternalApplication or IExternalCommand?
and why when i load family in my document ,the family not appears?
Please Help me .
Thanks In Advance