cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
2024 Technology Preview Program

2024 Technology Preview Program:
Master powerful new features and shape the latest BIM-enabled innovations

Archicad C++ API
About Archicad add-on development using the C++ API.

Problem with ACAPI_Dialog_SettingsDialog (in older versions APIIo_SettingsDialogID)

Geza Bohm
Participant

Hi,
the function “ACAPI_Dialog_SettingsDialog” is partly working: AC shows the required dialog.
- if there is no selection, the default settings are shown,
- if there is proper selection, the settings of elements are shown.

The problem comes when you fill new values into the dialog (so you change the settings) and click OK button. The new alues will not be written into the selected element(s). Also the defaults settings remain untouched. It seems the typed new values are lost, at least I do not know how can I get them.

Actually, this function is pretty useless, since you cannot modify any settings with it. All you can do is read the actual settings…
And, it works fine if there is no selection: the default settings will be changed. But if there is any element selected, the dialog will not make any change.

Please let me know if there is any way to get/read the typed values. Or let me know if you know about this problem, and it is really on the API side (and there is no workaround).

Thanks, best regards:
Géza

0 REPLIES 0

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!