VS:GetCompMasterSnaps: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
m (1 revision) |
(One intermediate revision by the same user not shown) | |
(No difference)
|
Latest revision as of 18:51, 7 December 2020
.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix
Description
Gets the master snaps of a component in an object.
FUNCTION GetCompMasterSnaps(
object :HANDLE;
componentIndex :INTEGER;
VAR masterSnapOnLeft :BOOLEAN;
VAR masterSnapOnRight :BOOLEAN) : BOOLEAN;
def vs.GetCompMasterSnaps(object, componentIndex): return (BOOLEAN, masterSnapOnLeft, masterSnapOnRight)
Parameters
object HANDLE The object. Can be a wall, round wall, Wall Style, or the Wall Preferences. componentIndex INTEGER The index of the component. masterSnapOnLeft BOOLEAN Returns whether or not the component has a master snap on its left. masterSnapOnRight BOOLEAN Returns whether or not the component has a master snap on its right.
Version
Availability: from Vectorworks 2017
See Also
VS Functions:
VS Functions:
[[VS:SetCompMasterSnaps]]