Table of Contents

Class CustomGetOsnapsArgs

Namespace
vdWebLibrary
Assembly
JsPropertiesExtractor.dll

An object type that Contains all the arguments of a CustomGetOsnapsDelegate event.

public class CustomGetOsnapsArgs
Inheritance
CustomGetOsnapsArgs
Inherited Members

Properties

cursorptview

The current mouse cursor position in View Coordinate System

entity

the object to which the current procedure refers

innerosnaps

An array of existing osnap points return by the inner entities of custom objects, in the current View Coordinate System.

Entities that they are added in the Explode collection property of the custom object.

Each item in the array is also an array of four values X,Y,Z,OsnapMode
object2world

Matrix used to transform from entitiy Coordinate System to World

osnapmode

Osnaps supported types.

SetOsnapMode(int)

Contains one or more of the following values OsnapMode_END , OsnapMode_MID , OsnapMode_CEN, OsnapMode_INS, OsnapMode_NEA, OsnapMode_NODE, OsnapMode_QUA, OsnapMode_EXTENSION

sender

The vdrawObj that reference the current procedure

world2view

Active rendering world toview matrix