Jump to content

Data Tag for Hardscapes


Recommended Posts

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:
1440479276_Schermafbeelding2021-07-20om16_18_06.thumb.png.ea9a740481bd0cce1734b6763ad5d831.png

I have been trying via Tools > Data Manager - Data Mapping of the Hardscape Object, IfcSlab > Material with the formula GETCOMPONENTINFO()

401956553_Schermafbeelding2021-07-22om14_03_31.thumb.png.5aa22001b3979c5684e5aee65861189c.png

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...

369199869_Schermafbeelding2021-07-22om14_02_56.thumb.png.022a8399658c7194f18a14bce1c50729.png

 

Then for the Data Tag these would be the settings:

1320956845_Schermafbeelding2021-07-22om14_05_47.thumb.png.be41f0bd965671b4be8984d9ef70ca94.png

 

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

  • Like 1
Link to comment
  • 1 year later...

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:

 

Screenshot2023-07-18at09_16_25.thumb.png.78f0aaa1a65687d8a7c79d16fa7d2a6f.png

 

it will list up to 12 components for the object it is attached to. Add more lines if you use more components!

  • Like 3
Link to comment

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.

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...