[SLVD] Proper way of adding penbackground color to attribute
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2017-06-14
02:45 PM
- last edited on
2022-12-06
02:05 PM
by
Daniel Kassai
2017-06-14
02:45 PM
Hello again,
The add-on which I am developing needs to work on international and german version of Archicad 20. The add-on creates an buildingmaterial attribute, and then sets cutFillBackgroundPen, cutFillPen through indexes and in the international version of Archicad everything seems fine, but when I create an attribute in the german version those indexes correspond to different colors, because in the german version the attribute is attarched to different penTable.
So whats the sollution here? Should I create a new penTable with my colours, and somehow assign it to the attribute?
Looking forward to your suggestions !
Julian
The add-on which I am developing needs to work on international and german version of Archicad 20. The add-on creates an buildingmaterial attribute, and then sets cutFillBackgroundPen, cutFillPen through indexes and in the international version of Archicad everything seems fine, but when I create an attribute in the german version those indexes correspond to different colors, because in the german version the attribute is attarched to different penTable.
So whats the sollution here? Should I create a new penTable with my colours, and somehow assign it to the attribute?
Looking forward to your suggestions !

Julian
Labels:
- Labels:
-
Add-On (C++)
3 REPLIES 3
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2017-06-14 03:21 PM
2017-06-14
03:21 PM
And another question - is it possible to detect if the archicad version is international or german in the add-on?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2017-06-14 09:32 PM
2017-06-14
09:32 PM
jcimentarov wrote:You can determine ARCHICAD's language version from the
And another question - is it possible to detect if the archicad version is international or german in the add-on?
Ralph Wessel BArch
Central Innovation
Central Innovation
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2017-06-15 11:16 AM
2017-06-15
11:16 AM
Thanks for your help, Ralph! it worked!