VS:GetOpacityByClass

From Vectorworks Developer
Jump to: navigation, search

.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix

Description

Returns whether the object is using the class opacity.
PROCEDURE GetOpacityByClass(
h  :HANDLE;
VAR isByClass  :BOOLEAN);
def vs.GetOpacityByClass(h):
    return isByClass

Parameters

h HANDLE The object which opacity will be get.
isByClass BOOLEAN Output parameter. Returns TRUE if this object's opacity is determined by its class.

Remarks

If you set opacity to an object inside parametric the actual opacity will be combined with the opacity of the parametric object itself. For example a rectangle with 50% opacity inside a parametric with 50% opacity will actually be rendered with 25% opacity. This behavior is the same for symbols too.

Version

Availability: from VectorWorks13.0

See Also

VS:GetOpacity | VS:SetOpacity | VS:GetOpacityByClass | VS:SetOpacityByClass
[[VS:GetOpacity]] | [[VS:SetOpacity]] | [[VS:GetOpacityByClass]] | [[VS:SetOpacityByClass]]
Personal tools
NamespacesFFFF

Variants
Actions
Advanced Search
See Also
Navigation
Toolbox