SOLVED!
Creating window with fixed width and height
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2020-04-02
07:04 PM
- last edited on
‎2021-09-15
12:35 PM
by
Noemi Balogh
‎2020-04-02
07:04 PM
I create a library part of a window and put it into a wall by creating an element of it referencing the libary part index, setting width and height and calling ACAPI_Element_Create:
The height and width of the resulting window element can be changed by dragging or by entering new value via the UI.
But I want the height and width of the window to be fixed. How is this possible?
API_Element element; ... element.window.openingBase.libInd = libPart.index; element.window.openingBase.width = 1.230; element.window.openingBase.height = 1.480; ... ACAPI_Element_Create(&element, &memo);
The height and width of the resulting window element can be changed by dragging or by entering new value via the UI.
But I want the height and width of the window to be fixed. How is this possible?
AC22-27, Windows 11, i7-1355U, 32GB RAM, 2TB SSD
Solved! Go to Solution.
Labels:
- Labels:
-
Add-On (C++)
1 ACCEPTED SOLUTION
Accepted Solutions
Solution
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2020-04-02 08:31 PM
‎2020-04-02
08:31 PM
This is probably best done in the GDL script, i.e. locking those parameters.
Ralph Wessel BArch
Central Innovation
Central Innovation
2 REPLIES 2
Solution
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2020-04-02 08:31 PM
‎2020-04-02
08:31 PM
This is probably best done in the GDL script, i.e. locking those parameters.
Ralph Wessel BArch
Central Innovation
Central Innovation
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2020-04-19 02:48 PM
‎2020-04-19
02:48 PM
That works, thanks!
AC22-27, Windows 11, i7-1355U, 32GB RAM, 2TB SSD