.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix
DescriptionProcedure SetDormerAttributes sets the attributes of a roof element in the referenced roof.
def vs.SetDormerAttributes(roofObject, dormerID, edgeIndex, cornerOffsetDistance, isPerpOffset, perpOrHeightOffsetDistance, symName, centerSymbol, symOffsetDistance): return None
roofObject HANDLE Handle to roof. dormerID INTEGER Index of dormer element. edgeIndex INTEGER Index of roof edge. cornerOffsetDistance REAL Corner offset distance. isPerpOffset BOOLEAN Specifies perpendicular or height offset. perpOrHeightOffsetDistance REAL Perpendicular or height offset distance. symName LONGINT Index of dormer symbol. centerSymbol BOOLEAN Specifies if symbol is centered. symOffsetDistance REAL Symbol offset distance.
RemarksThis will fail if the dormerID identifies a skylight, or dormerID is not valid.
dormerID: Identifies the dormer for which to set the information. edgeIndex: Index to which roof face this dormer is placed. Value is one based.
cornerOffset: Distance from the vertex to the center of the dormer. isPerpOffset: Determines the meaning of the next parameter. Set to true for the value to be the plan distance from the outline to the front of the dormer. Set to false for offsetValue to set the distance from the top of the dormer to the bearing height. perpOrHeightOffset: Either the distance from the outline to the front of the dormer, or from the dormer roof to the floor.
symName: Symbol to place in the dormer, this is the window. centerSymbol: Set to true to vertically center the symbol in the dormer. Doing so causes the next parameter to be ignored. Set to false to offset the symbol from the top of the dormer using the next parameter. symOffset: Distance from top of the dormer to symbol insertion point.