How to obtain its material through element
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2024-10-01 10:24 AM - last edited on ‎2024-10-01 10:47 AM by Barry Kelly
How to obtain its material through elements
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2024-10-01 10:40 AM
I do not understand the question.
Do you mean how do you obtain the material of an element?
Building Material or Surface Material?
What type of element, object, composite wall, beam, slab?
As with your other question, where are you trying to get this information?
In a label, in GDL API (add-on), schedule?
Let me know and i will move this post to the appropriate forum.
Barry.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2024-10-01 10:44 AM
C++ API(add-ons)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2024-10-01 10:45 AM
Surface Material, beam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2024-10-01 11:08 AM
You have to access the memo of the beam element IIRC (even if it's a beam with a single segment):
memo.beamSegments[0].bottomMaterial
Or something like this, don't have time to try it myself right now.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2024-10-01 11:27 AM
Thank you, I will try it.