Easy was to convert BuildingSurfaces? [closed]

Hi,

Does anyone know of an existing script or tool that can convert BuildingSurface:Detailed objects to their respective more specific objects like Wall:Detailed, Floor:Detailed, or RoofCeiling:Detailed?

I was hoping to do it with a RegEx find and replace, but it needs to retain the name of the object, so I think it would need to be a slightly more detailed script, but hoped something similar existed before I wrote a new one.

so for example:

BuildingSurface:Detailed,
    L1-101-EntranceExit_Srf_0,  !- Name
    FLOOR,                   !- Surface Type
    Floor_Slab,              !- Construction Name
...

would be replaced with

Floor:Detailed,
    L1-101-EntranceExit_Srf_0,  !- Name
    Floor_Slab,              !- Construction Name
...

Thanks, Ben

bbrannon4's avatar
1.7k
bbrannon4
asked 2016-10-04 11:38:33 -0500
Aaron Boranian's avatar
14.1k
Aaron Boranian
updated 2023-03-22 13:09:16 -0500
edit flag offensive 0 remove flag reopen merge delete

Closed for the following reason "duplicate question" by Jamie Bull 2016-10-04 12:11:25 -0500

Comments

Hi @bbannon4 - I've closed this as a duplicate and answered the duplicate here

Jamie Bull's avatar Jamie Bull (2016-10-04 11:57:30 -0500) edit
add a comment see more comments