Announcement

Collapse
No announcement yet.

FamilySizeTableManager in FamilyDocument?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    FamilySizeTableManager in FamilyDocument?

    EDIT: SOLVED

    I'm writing a tool but hit a serious snag.

    What I'm trying to make (first real plugin) is a solution to create a family document, populate it with parameters (successful up to this point), load a size lookup table and insert the size lookup formulas for the parameters.

    Where it goes wrong is that in order to import a SizeTable, I need an instance of the FamilySizeTableManager, which can only be created through a static function in the Revit API (FamilySizeTableManager.CreateFamilySizeTableManag er(doc, ElementId) or FamilySizeTableManager.GetFamilySizeTableManager(d oc, ElementId)) that requires a project document and an element id.

    Is it possible to get the FamilySizeTableManager from a FamilyDocument instance, and import a SizeTable that way?
    Using Revit 2014
    Last edited by Clogboy; June 27, 2017, 11:43 AM.

    #2
    Hi! How did you solve this?

    Comment

    Related Topics

    Collapse

    Working...
    X