homepage

welcome to architexted.
This is the student blog from the interoperability and OOP class at the Product Architecture Lab at Stevens. This blog showcases the student’s awesome homework and final projects. After being introduced to the fundamentals of software interoperability using CATIA and Excel during the first half of the semester, students develop their own interoperability tools during the second half.

Interoperability in field of architecture and engineering is a hot topic, though there are not many good resources on the web. In the ‘Tutorials’ section of this blog, you can find some very useful tutorials that were developed by the students, in order to educate other interested. In the ‘Tools’ section showcases the final projects, many of which are under ongoing open source development. Or you can just browse the blog entries, which were part of ongoing homework assignments.

Recent Posts

Changing Element Properties in Revit Structure

When you define Beams in Revit Structure the software automatically draws a driving line on top of the Beam. That line will meet a same line from a Column and their meeting point will actually become a node. So the “z-Direction Justification” is a property of Beams that describes the vertical position of the beam related with the imaginary line that connects the start and end point of the Beam. This parameter can get 3 different values TOP / CENTER / BOTTOM and we imagine the difference.

So using the SAP_2_ RS tool, we needed to set the z-Direction Justification to CENTER in order to be precise and the code is the following.(the default value is on TOP)

‘drawing beam

myBeam = myModel.Create.NewFamilyInstance(myBeamLine, beam_sym, my_level, Autodesk.Revit.DB.Structure.StructuralType.Beam)

‘giving the right z Direction Justification

Dim V_justification As Autodesk.Revit.DB.BuiltInParameter = Autodesk.Revit.DB.BuiltInParameter.BEAM_V_JUSTIFICATION

Dim myParameter As Autodesk.Revit.DB.Parameter = myBeam.Parameter(V_justification)

myParameter.[Set](1)      ’ here: 0 is Top  /  1 is Center  /  2 is Bottom

These lines need to be used after “drawing” the beam and this is the way to approach and change other parameters of elements if needed.. (got a lot of intelligense there)

enjoy

 

  1. Dialog Boxes and VBYesNo Leave a reply
  2. Icons (resources) in Sharp Develop Comments Off
  3. Open Dialog Box Leave a reply
  4. Sharp Develop vs. GH Leave a reply
  5. Revit API and SDK files Leave a reply
  6. creating elements in REVIT VSTA (beams, columns, braces and so forth…) – variables needed Leave a reply
  7. creating elements in REVIT VSTA (beams, columns, braces and so forth…) – define start and end point and draw mwmber Leave a reply
  8. creating elements in REVIT VSTA (beams, columns, braces and so forth…) – loading path Leave a reply
  9. Revit VSTA – reading values from excel Leave a reply