Message 1 of 3
StructuralType beam and it's end point

Not applicable
02-09-2006
03:33 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Why the StructuralType of a "beam?" instance I created is "NonStuctural"? Maybe due to this, I could not set the 2nd end point either:
....
Autodesk.Revit.Symbols.FamilySymbol bmType = FindFamilySymbol(rvtDoc, "W-Wide Flange", "W8X10");
....
Autodesk.Revit.Elements.FamilyInstance beam = rvtDoc.Create.NewFamilyInstance(ref startPt, bmType);
1)Autodesk.Revit.LocationCurve loc = (Autodesk.Revit.LocationCurve) beam.Location;
will exit the C# code without warning?
2)check beam.StructuralType, it's "NonStuctural"?
how to creat a real Beam StructuralType?
By the way, the family instance "W-Wide Flange", "W8X10" is defined under "Structural Framing"
....
Autodesk.Revit.Symbols.FamilySymbol bmType = FindFamilySymbol(rvtDoc, "W-Wide Flange", "W8X10");
....
Autodesk.Revit.Elements.FamilyInstance beam = rvtDoc.Create.NewFamilyInstance(ref startPt, bmType);
1)Autodesk.Revit.LocationCurve loc = (Autodesk.Revit.LocationCurve) beam.Location;
will exit the C# code without warning?
2)check beam.StructuralType, it's "NonStuctural"?
how to creat a real Beam StructuralType?
By the way, the family instance "W-Wide Flange", "W8X10" is defined under "Structural Framing"