Message 1 of 4
Generic model level reference
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I am having a problem which I couldn't find a solution for. I have created an addon that creates instances of generic model families by using the familyinstance method:
FamilyInstance instance = CachedDoc.Create.NewFamilyInstance(insertpoint, FamilySymbol, StructuralType.NonStructural);
It works fine and the families are inserted in the exact location. However, when I select the instance, it shows that the host is None and it is not referenced to any floor level. Therefore its offset is always referenced to the project 0 level.
How can I link the family instance to the floor level of the active view?
I would really appreciate any help.
Cheers
Nayer