|
@@ -19,13 +19,14 @@ using RevitToJBim.Common;
|
|
using RevitToJBim.Extension;
|
|
using RevitToJBim.Extension;
|
|
using JFamilyType=RevitToJBim.Common.FamilyType;
|
|
using JFamilyType=RevitToJBim.Common.FamilyType;
|
|
using RevitToJBim.ParseData;
|
|
using RevitToJBim.ParseData;
|
|
|
|
+using SAGA.DotNetUtils.Extend;
|
|
using SAGA.RevitUtils.Extends;
|
|
using SAGA.RevitUtils.Extends;
|
|
using SAGA.RevitUtils.MEP;
|
|
using SAGA.RevitUtils.MEP;
|
|
|
|
|
|
namespace RevitToJBim.ComponentParse
|
|
namespace RevitToJBim.ComponentParse
|
|
{
|
|
{
|
|
[UsableParse]
|
|
[UsableParse]
|
|
- public class ParseFamilyJoinObject : ParseBase
|
|
|
|
|
|
+ public class ParseJoinObject : ParseBase
|
|
{
|
|
{
|
|
public override List<string> FastIndex()
|
|
public override List<string> FastIndex()
|
|
{
|
|
{
|
|
@@ -51,6 +52,7 @@ namespace RevitToJBim.ComponentParse
|
|
jObject.FamilySymbol = familyInstance.GetFamilySymbolName();
|
|
jObject.FamilySymbol = familyInstance.GetFamilySymbolName();
|
|
//Location
|
|
//Location
|
|
jObject.Location = GeometryLocation.CreatePointLocation(BimConvert.ConvertToXYZ(familyInstance.GetLocationPoint()));
|
|
jObject.Location = GeometryLocation.CreatePointLocation(BimConvert.ConvertToXYZ(familyInstance.GetLocationPoint()));
|
|
|
|
+ jObject.Rotation = familyInstance.GetRotation().ToAngle();
|
|
//OutLine
|
|
//OutLine
|
|
var polygonPath = RevitUtil.GetBottomPolygon(familyInstance);
|
|
var polygonPath = RevitUtil.GetBottomPolygon(familyInstance);
|
|
if (polygonPath != null && polygonPath.Any())
|
|
if (polygonPath != null && polygonPath.Any())
|