Adding data to an element type

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2005-01-21
04:22 PM
- last edited on
‎2024-09-24
10:07 AM
by
Doreena Deng
I am looking to add something like fire rating, UL number, sound transmission ratings, etc. to floors and walls.
I know in GDL it's simple, but I am digging around trying to find out if (A) I can add a panel to the Wall Settings menu and (B) assign the information to the walls in a project.
I know could probably be done similar to Wall Accessories, assigning a non-visible object to the wall, but that seems like a rather round-a-bout way to accomplish the goal.
Any thoughts?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2005-01-21 09:21 PM
TomWaltz wrote:A) You can add a custom panel to the wall settings dialog, but I didn use it. There is API example.
I know in GDL it's simple, but I am digging around trying to find out if (A) I can add a panel to the Wall Settings menu and (B) assign the information to the walls in a project.
...
Any thoughts?
B) You can assign and read any user data to the wall element by
ACAPI_Element_SetUserData and ACAPI_Element_GetUserData functions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2005-01-21 10:26 PM
thanks for the tip, I had just found that Panel Test myself.
For some reason, I am getting errors when I compile that one.... maybe Akos can shed some light?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2005-01-22 12:07 AM
John Hyland : ARINA : www.arina.biz
User ver 4 to 12 - Jumped to v22 - so many options and settings!!!
OSX 10.15.6 [Catalina] : Archicad 22 : 15" MacBook Pro 2019 [/size]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2005-01-22 04:18 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2005-01-22 07:37 AM
TomWaltz wrote:sorry for the basic Qs but how does that interface/work with Archicad
Codewarrior.
John Hyland : ARINA : www.arina.biz
User ver 4 to 12 - Jumped to v22 - so many options and settings!!!
OSX 10.15.6 [Catalina] : Archicad 22 : 15" MacBook Pro 2019 [/size]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2005-01-22 08:42 AM
TomWaltz wrote:You need to create RO folder. I dont remember exactly, but it seems inside MAKE.MAC folder. The RO forder is the destination for the GS GRC compiler where it will put a compiled resources and icons.
For some reason, I am getting errors when I compile that one

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2005-01-22 02:10 PM
you have to download the developer API from graphisoft.com. It has the "Application Program Interface" which allow you to write your own add-ons in C/C++.
-Tom

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2005-01-24 04:02 AM
TomWaltz wrote:Yes, thanks, Oleg. Somehow, I hadn't explored that sample yet.
Oleg
thanks for the tip, I had just found that Panel Test myself.
For some reason, I am getting errors when I compile that one.... maybe Akos can shed some light?
Another question for Akos ... it compiles fine on XP, but the panel for the Materials Attributes dialog does not appear. Panels in the Infobox and Wall Settings dialog show up fine. If I change the code to use the Linetype dialog, it shows up just fine. I wonder if the Materials problem is a functionality issue from 6.0 to 6.1 and the LW panels? Or perhaps me being blind and just not seeing it?
Thanks,
Karl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2005-01-24 09:48 AM
Karl wrote:Hi all,TomWaltz wrote:Another question for Akos ... it compiles fine on XP, but the panel for the Materials Attributes dialog does not appear. Panels in the Infobox and Wall Settings dialog show up fine. If I change the code to use the Linetype dialog, it shows up just fine. I wonder if the Materials problem is a functionality issue from 6.0 to 6.1 and the LW panels? Or perhaps me being blind and just not seeing it?
For some reason, I am getting errors when I compile that one.... maybe Akos can shed some light?
Thanks,
Karl
The missing RO folder is an SCM issue; I forgot to add that to some of the Make.mac folders, and the GRC compiler is not clever enough to create the new folder. If I have the time I'll fix that in the updated devkit
The panel is not showing up because of a bug in the new Material Settings dialog; I'll enter it to the errors database.
Akos