This is Spiderinnet's Typepad Profile.
Join Typepad and start following Spiderinnet's activity
Join Now!
Already a member? Sign In
Spiderinnet
a spider crawling mainly in the .NET of Revit and Navisworks
Interests: crawling mainly in the .NET of Revit and Navisworks
Recent Activity
Revit SPF Organizer 2022 已發布。它隨時隨地探索共享參數文件 (SPF),並... Continue reading
Revit SPF Organizer 2022 已发布。它随时随地探索共享参数文件 (SPF),并... Continue reading
Based on our experiences in the past decades, it’s fun to play with Revit API. Here is one. The method FamDoc.FamilyManager.get_Parameter(name) does not care parameter name case sensitively, but Revit family UI does! So, we have to create our own version of the method such as FamDoc.GetFP(caseSensitiveName). Have fun! Continue reading
Based on our experiences in the past decades, it’s fun to play with Revit API. Here is one. The method FamDoc.FamilyManager.SetFormula(…) needs a transaction, otherwise: 'A sub-transaction can only be active inside an open Transaction.' But FamDoc.FamilyManager.AddParameter(…) does not! It should have started one inside itself. Continue reading
Based on our experiences in the past decades, it’s fun to play with Revit API. Here is one. Family parameter can be added to family without types through API; but its formula cannot be set! The method call FamDoc.FamilyManager.SetFormula(...) would throw out an exception. 'There is no valid family type.'... Continue reading
Revit Family Organizer 2020 (build #4.8.5.3) has been released. It works with Revit 2020, 2019, 2018 and 2017. A lot of tools (more than one hundred) have been added. They include but not limited to three more Family Creators, more than dozen Mass Creators, more than dozen Points Organizer tools,... Continue reading
Based on our experiences in the past decades, it’s fun to play with Revit API. Here is one. FamDoc.Save(), FamDoc.Close(), and FamDoc.Close(true) calls all need the FamDoc has a full path! It is easy to understand for the first and third call as they will be trying to look for... Continue reading
Based on our experiences in the past decades, it’s fun to play with Revit API. Here is one. Family's built-in parameter 'Family Name' returns nothing! It seems the parameter always behaves so now. Then please remove it! Continue reading
A new build of Revit Parameter Organizer 2020 has just been released. It still works with Revit 2020, 2019, 2018 and 2017. It behaves much more friendly, reliably and efficiently. Family Parameters Editor now supports really changing Parameter Groups. Value and Formula input have also been improved. Result report is... Continue reading
Based on our experiences in the past decades, it’s fun to play with Revit API. Here is one. FamDoc.OwnerFamily.Name returns null! FamDoc.OwnerFamily returns a valid object but the family has a null name! Enjoy! Continue reading
Revit Parameter Organizer 2020 has been released. It works with Revit 2020, 2019, 2018 and 2017. UIs are made more friendly. Performance are improved a lot. Almost all features are enhanced, e.g. Shared Parameter Loaders and Updaters, various Editors, Renamers, Replacers and Purgers, Transporters and Importers, element Inspectors, and so... Continue reading
Image
Last time, we talked about InternalDefinition.SetAllowVaryBetweenGroups(...) and especially about its Document argument. Wondered what it would be really about? Suggested doing an experiment about it. We finally got a moment and did an experiment. Here is the test code. var docs = CachedApp.Documents.ToList<Document>(); string info = string.Empty; Document doc1 =... Continue reading
Let's talk about the InternalDefinition.SetAllowVaryBetweenGroups() method one more time. The odd point is that it needs a document argument: public ICollection<ElementId> SetAllowVaryBetweenGroups( Document document, bool allowVaryBetweenGroups ) However, the VariesAcrossGroups property is not document indexed but returns the flag directly: public bool VariesAcrossGroups { get; } We also wonder how... Continue reading