Revision history  [back]

In addition to the answer by @mdahlhausen, the model method you want is getStandardGlazings with an 's' at the end.

EDIT: These methods aren't explicitly documented anywhere. They're alluded to in the Measure Writer's Reference Guide in this section. The method templates are documented as getModelObject or getModelObjects (or getModelObjectByName/getModelObjectsByName), where you replace 'ModelObject' with the object class name. You can refer to the documentation for those methods for the required arguments, e.g. an object handle for getModelObject. If you want a list of all the methods available to the model (or any) class, you can list them from Ruby by calling model.methods.

In addition to the answer by @mdahlhausen, the model method you want is getStandardGlazings with an 's' at the end.

EDIT: These methods aren't explicitly documented anywhere. They're alluded to in the Measure Writer's Reference Guide in this section. The section, and the method templates are documented as getModelObject or getModelObjects (or getModelObjectByName/getModelObjectsByName), where you replace 'ModelObject' with the object class name. You can refer to the documentation for those methods for the required arguments, e.g. an object handle for getModelObject. If you want a list of all the methods available to the model (or any) class, you can list them from Ruby by calling model.methods.

In addition to the answer by @mdahlhausen, the model method you want is getStandardGlazings with an 's' at the end.

EDIT: These methods aren't explicitly documented anywhere. They're alluded to in the Measure Writer's Reference Guide in this section, and the method templates are documented as getModelObject or getModelObjects (or getModelObjectByName/getModelObjectsByName), where you replace 'ModelObject' with the object class name. You can refer to the documentation for those methods for the arguments required arguments, for those methods, e.g. an object handle for getModelObject. If you want a list of all the methods available to the model (or any) class, you can list them from Ruby by calling model.methods.

In addition to the answer by @mdahlhausen, the model method you want is getStandardGlazings with an 's' at the end.

EDIT: These methods aren't explicitly documented anywhere. They're alluded to in the Measure Writer's Reference Guide in this section, and the method templates are documented as getModelObject or getModelObjects (or getModelObjectByName/getModelObjectsByName), where you replace 'ModelObject' with the object class name. You can refer to those methods for the arguments required for those methods, e.g. an object handle for getModelObject. If you want a list of all the methods available to the model (or any) class, you can list them from Ruby by calling model.methods.