- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Would anyone care to share a code example that places a generic annotation on either a legend or drafting view?
I've searched and searched, and I can't find an example anywhere.
From the changes and additions, I see that:
Document.Create.NewAnnotationSymbol(point, ann_type, doc.ActiveView);
is now obsolete, but there is no mention of any replacement keyword. I assume I now have to use the more generic :
NewFamilyInstance
But I'm not sure which overload to use:
NewFamilyInstance Method (XYZ, FamilySymbol, StructuralType) or
NewFamilyInstance Method (XYZ, FamilySymbol, View)
For the first overload, I'm not sure what to do with the structuraltype variable.
With the second overload, how do I set the view? I already have the view open.
Thanks in advance.
Solved! Go to Solution.