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:
element.window.openingBase.libInd = libPart.index;
element.window.openingBase.width = 1.230;
element.window.openingBase.height = 1.480;
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?