
You would think that Revit would be able to report back the volume of any object in your model. There are several ways to calculate the volumes from these objects, but surely the simplest way would be to use Revit's automatic volume calculation properties? Thus we need to create objects of different shapes and sizes in the model. The storage has to be calculated by volume per apartment - this means that we have to create schedules that combine the storage cupboards in apartments with the cages in the basement. Some of that storage can be in the apartment itself, and some can be in storage cages/cupboards in the basement. Jim Quanci's blog on partnering with large companies.Here in New South Wales, Australia, we have a planning requirement (SEPP65) to provide a certain amount of storage in multi-unit residential developments. Isaac Rodriguez's AutoCAD Civil 3D developer blog Our DevBlog for Design, Lifecycle and Simulation technologies.Ĭyrille Fauvel's Maya platform developer blog - Autodesk Media and Entertainment technology. Our DevBlog for Infrastructure Modeling technology APIs. Our DevBlog for Cloud and Mobile technologies with a strong emphasis on the Autodesk Forge APIs. Our DevBlog for AutoCAD and other platform technology APIs. Our DevBlog for Revit, Navisworks, AEC and BIM technology APIs. Please enable JavaScript if you would like to comment on this blog. The new base curve required to be in this view. However you cannot assign the curve that is out of the host view. The new base curve required to be in this view.Īfter creating the family instance, we can change the base curve of the family instance. This can make sure the line is in this plan view.įamilyInstance inst = doc.Famil圜reate.NewFamilyInstance(Īfter creating the family instance, we can change the base curve of the family instance.

Note: before run this command, set the plan view which Please replace this line with the code to get the linįamilySymbol symbol = doc.get_Element( new ElementId (6732)) For simplicity, and focusing on the important point, Transaction trans = new Transaction (doc, "ExComm" )


UIApplication app = commandData.Application ĭocument doc = Ref string messages, ElementSet elements) Public Result Execute( ExternalCommandData commandData, Public class RevitCommand : IExternalCommand
