![]() ![]() Check for empty selection on current documentĭocument doc = Application. Void doc_ImpliedSelectionChanged( object sender, EventArgs e) Object sender, DocumentCollectionEventArgs e New EventHandler (doc_ImpliedSelectionChanged) Attach handler to currently loaded documents New DocumentCollectionEventHandler (dm_DocumentToBeDestroyed) New DocumentCollectionEventHandler (dm_DocumentCreated) Set event handlers on documents to get access toĭocumentCollection dm = Application. A flag to indicate whether we're overruling Static public GripVectorOverrule theOverrule = A static pointer to our overrule instance Public class GripVectorOverrule : GripOverrule a command is called by the user the first time in the context This class is instantiated by AutoCAD for each document when New Point3d (pt.X + glyphHeight, pt.Y + glyphHeight, pt.Z) Pnts.Add( new Point3d (pt.X, pt.Y - glyphHeight, pt.Z)) New Point3d (pt.X - glyphHeight, pt.Y + glyphHeight, pt.Z) Point3dCollection pnts = new Point3dCollection () GripPoint) ĭouble glyphHeight = (gripSizeInPixels / glyphSize.Y) Calculate the size of the glyph in WCS Public override void OnGripStatusChanged( Public Point3d m_original_point = Point3d. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |