Carol Reznor Posted July 22, 2021 Share Posted July 22, 2021 Hi For a couple of months now I have been trying off and on to create a Data Tag that can list the components of a Hardscape/Landscape Area. The use would be for instance so one can appropriately tag the components in a Section Viewport. Example below: I have been trying via Tools > Data Manager - Data Mapping of the Hardscape Object, IfcSlab > Material with the formula GETCOMPONENTINFO() Returning either the Name or the Material would be fine. (which is why I have some different selectors in the above conditions) As you can see in the OIP Data the records are greyed out... so it is doing something... Then for the Data Tag these would be the settings: Is this possible? And how...? Would be great if one could make a Data Tag for the Border Slab (and its components) too 🙂 Thanks in advance for looking into this!! Carol 1 Quote Link to comment
fsmvectorworks Posted July 18, 2023 Share Posted July 18, 2023 It would be great to see if there was ever an answer to this! Quote Link to comment
Tom W. Posted July 18, 2023 Share Posted July 18, 2023 The ComponentName(index) function will return the name of a component in a Hardscape or Landscape Area (+ Wall, Slab, Roof). So if you have a Data Tag that looks like this: it will list up to 12 components for the object it is attached to. Add more lines if you use more components! 3 Quote Link to comment
Tom W. Posted July 18, 2023 Share Posted July 18, 2023 Alternatively to return a list of the Materials used by the components: 3 Quote Link to comment
fsmvectorworks Posted July 18, 2023 Share Posted July 18, 2023 Thanks Tom for the speedy reply that's very helpful! 3 Quote Link to comment
Tom W. Posted July 18, 2023 Share Posted July 18, 2023 The other thing you can do is return the 'Description' fields for component Materials using: #WS_MATPROPERTYBYNAME(COMPONENTMATERIAL(1), 'materialdescription')# I prefer to do this because component names are a pain to keep consistent as they have to be reentered each time you create a new resource + I don't generally want to label components with the name of the Material used: my Materials all have 'MT' as a suffix + they are named so that I can distinguish between them as resources, not as a description that would necessarily make sense to others. So each time I create a Material I give it a description which conforms to how I'd want to see it tagged. Alternatively, you can return the 'Description' field for Walls/Slabs/Roofs using: #WS_IFC.'IfcWallStandardCase'.'Description'# #IfcSlab#.#IfcSlab#.#Description# #IfcRoof#.#IfcRoof#.#Description# #IfcSlab#.#IfcSlab#.#Description# works for Hardscapes too but I don't think you can add a description to a Hardscape by style, only by instance in the OIP... Although I guess it could be done with the Data Manager... Not looked at Landscape Areas... This way you return a general description for the whole object instead of seeking to label each + every component. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.