Message 1 of 10
New Family Instance with orientation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
ItemFactoryBase..::..NewFamilyInstance Method (XYZ, FamilySymbol, XYZ, Element, StructuralType)
I'm testing to use this method to create a generic model with an extrusion to give nominated orientations (non- vertical or horizontal). The sample code for this method in the "Revit API.chm" in 2014 SDK to create beds I tested.
But you can see the vertical faces of the extrusion remain vertical, where I would like to keep them in the direction of the orienation. I don't want the original shape to be deformed. I did test this in 2013 (not 2014). I tried setting some parameters of the family but couldn't get the desired effect (such as Always Vertical).
Image attached. Any suggestions greatly appreciated. Thanks in advance.
Cheers,
Jon