編程如何?使用建立的Revit樓板族,建立樓板構件

來源:互聯網
上載者:User

標籤:des   style   blog   http   ar   io   color   os   使用   


問題:


建立了一個新厚度的樓板族。
FloorType newFamilyType = typeMoBan.Duplicate(sFmailyName) as FloorType;


在板的建立介面沒有設定族的地方啊
Floor newFloor = m_ReviteDoc.Create.NewSlab(temCurveArr, simLevelInfo.FloorLevel, banSlopArrowLine, dTemAnagle, true);

如何使用這個新類型來建立樓板構件呢?



答:

建立樓本的還有其他方法: NewFloor(),  可以接受樓板類型來建立樓板.

public Floor NewFloor(CurveArray profile,FloorType floorType,Level level,bool structural)

或:

public Floor NewFloor(CurveArray profile,FloorType floorType,Level level,bool structural,XYZ normal)


如果你必須用NewSlab() 方法, 可以在NewSlab() 方法調用之後,給已經產生的板修改樓板類型.

Floor.FloorType = targetFloorType.


葉雄進 Autodesk特聘開發諮詢專家,橄欖山首席研發轉載請註明原文出處。http://blog.csdn.net/joexiongjin/article/details/42003211


編程如何?使用建立的Revit樓板族,建立樓板構件

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.