Autodesk.AutoCAD.DatabaseServices Namespace > Entity Class > Entity Methods > GetObjectSnapPoints Method > GetObjectSnapPoints(ObjectSnapModes, int, Point3d, Point3d, Matrix3d, Point3dCollection, IntegerCollection, Matrix3d) Method
Entity.GetObjectSnapPoints(ObjectSnapModes, int, Point3d, Point3d, Matrix3d, Point3dCollection, IntegerCollection, Matrix3d) Method   
Description

 

This function behaves exactly as its counterpart without the insertionMat parameter. Entities contained in a block will receive the block transformation in the insertionMat parameter.

Visual Basic
Public Function GetObjectSnapPoints(
    snapMode As ObjectSnapModes, 
    gsSelectionMark As Integer, 
    pickPoint As Point3d, 
    lastPoint As Point3d, 
    viewTransform As Matrix3d, 
    snapPoints As Point3dCollection, 
    geometryIds As IntegerCollection, 
    insertionMat As Matrix3d
) As void
C#
public void GetObjectSnapPoints(
    ObjectSnapModes snapMode, 
    int gsSelectionMark, 
    Point3d pickPoint, 
    Point3d lastPoint, 
    Matrix3d viewTransform, 
    Point3dCollection snapPoints, 
    IntegerCollection geometryIds, 
    Matrix3d insertionMat
);
Parameters
Parameters 
Description 
ObjectSnapModes snapMode 
Input osnap mode being requested 
int gsSelectionMark 
Input GS marker of the subentity involved in the object snap operation 
Point3d pickPoint 
Input point (in WCS coordinates) picked during the object snap operation 
Point3d lastPoint 
Input point (in WCS coordinates) selected just before pickPoint 
Matrix3d viewTransform 
Input transformation matrix to transform from WCS to DCS 
Point3dCollection snapPoints 
Input pre-existing array to append osnap points to (may already contain points); output with object snap points appended 
IntegerCollection geometryIds 
Not in use 
Matrix3d insertionMat 
Input block transformation 
Links
   Comments?