Message 1 of 2
Rebar creation issue in some API-created objects

Not applicable
04-24-2016
07:32 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi, I'm working with Revit API to create rebar objects.
I've attached a .rvt file that has two beams, identical in geometry but one created directly by hand and the other created programmatically by API code.
I've used the normal creation method below to create the beam, in Autodesk.Revit.Creation.
public FamilyInstance NewFamilyInstance(Curve curve, FamilySymbol symbol, Level level, StructuralType structuralType);
As you can see in the sample file, rebar could not be correctly placed in the programmatically-created beam.
When I tried to place rebar in the beam, it would pop out to whole other places.
Some of other beams created in the same programmatic way don't have the problem, so I'm wondering about the reason.
Please he