Message 1 of 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
When I execute the following code
FamilyManager manager = familyDoc.FamilyManager;
ForgeTypeId forgeTypeId_length = new ForgeTypeId("autodesk.spec.aec:length-2.0.0");
FamilyParameter parameter_qzh = manager.AddParameter("墙肢高度", GroupTypeId.Geometry, forgeTypeId_length, false);
I got this
But when I execute this one code:
manager.SetFormula(parameter_qzh, "侧墙高度 -底板厚度");
it will throw an error:There is no valid family type. at Autodesk.Revit.DB.FamilyManager.SetFormula(FamilyParameter familyParameter, String formula)
Solved! Go to Solution.