Create Site Building that could be editable

Create Site Building that could be editable

munchel_kim5SSTC
Explorer Explorer
161 Views
1 Reply
Message 1 of 2

Create Site Building that could be editable

munchel_kim5SSTC
Explorer
Explorer

Hi all,

 

Currently working with GIS-related revit api development.

Reading SHP data of building in points, creating boundary line based with points and creating masses with commands(part of code)

 

Solid geobldg = GeometryCreationUtilities.CreateExtrusionGeometry(new CurveLoop[] { profileloop }, XYZ.BasisZ, bldgHeight[i], opt);

 

During development, I had issues that some of the GIS-based data are old, and in those cases, the designer wanted to manually fix them. 

(eg. recreate, erase, or modify partial details, etc)

 

Is is possible to create masses in revit api that could be editable after creation?

0 Likes
162 Views
1 Reply
Reply (1)
Message 2 of 2

jeremy_tammik
Alumni
Alumni

Thank you for a very valid question. Unfortunately, in this specific context, the answer is rather tending towards no.

  

You  seem to be creating a family definition to represent the mass. That is a viable way to go. The family definition could theoretically be created to be parametrically driven, in which case the user would be able to modify parameter values later in the project file to adapt the mass instance geometry. 

  

Another way to create mass representations would be to use DirectShape elements:

  

https://thebuildingcoder.typepad.com/blog/about-the-author.html#5.50

   

That would avoid the complexity of defining a family definition and placing an instance.

   

However, direct shapes are not easily editable, either, cf.:

    

https://forum.dynamobim.com/t/directshape-bygeometry-edits/14434

    

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
0 Likes