gravityType
layout gravityType string { "pin" | "edge" | "midpoint" | "nexus" | "vertex" | "end" | "centerline" | "origin" | "snapPatternTrack" }
Description
Sets the drawing pointer to snap to the specified target type.
By default, the environment variable is set to the following gravity types: pin edge midpoint nexus vertex end centerline origin snapPatternTrack.
GUI Equivalent
Examples
envGetVal("layout" "gravityType")
envSetVal("layout" "gravityType" 'string midpoint)
envSetVal("layout" "gravityType" 'string snapPatternTrack)
Related Topics
Return to top