[Closed] Revit Family object property
Seems like a simple task , but i basically want to take objects with the same Revit Family or Revit Type or Revit Category and make layers out of them with the same name. However I can’t figure out how to get the any of the Revit properties from the object. Maxscript help has nothing on revit at all.
The model I’m using was exported from revit using fbx and imported into max. Everything is fine except there are no layers just the Revit properties that can only be seen using the new scene explorer.
Any help would be appreciated.
i can’t confirm at the moment, but i think the revit related properties are custom user props. you can access these with the getUserProp and setUserProp
Here is a custom scene explorer column for floor number.
function getFloorNum node = (return getUserProp node "FloorNumber")
function setFloorNum node value = (setUserProp node "FloorNumber" value)
sceneexplorermanager.addproperty "Floor Number" getFloorNum setFloorNum
thanks, i’ll check that out. posted this so long ago i didn’t think anyone would respond.