who could help me T T...How to pick from importance linked into dwg???

who could help me T T...How to pick from importance linked into dwg???

27925916
Advocate Advocate
226 Views
0 Replies
Message 1 of 1

who could help me T T...How to pick from importance linked into dwg???

27925916
Advocate
Advocate

for example , I link a dwg into revit ,and I want to use API pickobject to pick lines or text in this importance,but it does'nt work...

C1.png 

I am wondering how to use pickobject to pick lines or text in importinstance linked from dwg? or if it is possible to pick different layers standing different elements?

below is my pick code:

    UIDocument uidoc = new UIDocument(document);
    Selection choices = uidoc.Selection;
    Reference elementRef = choices.PickObject(ObjectType.LinkedElement, "Select a line or text");
    if (elementRef != null)
.....  

 

0 Likes
227 Views
0 Replies
Replies (0)