70002883 Ability to lock the current Osnap Extension

Article 70002883
Type Wish
Product Engine
Date Added 5/14/2026 12:00:00 AM
Fixed 12.0.03 (5/19/2026 12:00:00 AM)
Submitted by Alessio Francioso

Summary

Is it possible to have the ability to lock the current Osnap Extension?

Solution

Following new properties of vdDocument was added in version 12.0.3

ModifierKeys OsnapExtensionLockKey
   Get/set the keyboard modifier key that lock/unlock the current Osnap Extension.  
   Default value is ModifierKeys.SHIFT. 
   It is used durring the user action of selecting an Osnap by moving the cursor over objects and when the  
   Osnap or PolarTrack or OsnapTrack or Ortho is activated  then 
   by holding down this key the user can lock this track line and all result osnaps are projective to this locked track line.  
   The user can select this snap by pressing the mouse button 
   Releasing the locked button key, the track line is unlocked and the osnaps are not projective to it anymore.
   This property is static and applies to all documents of the application.  

ModifierKeys OsnapMarksClearKey 
   Get/Set the keyboard modifier key that clears the temporary cross Osnaps.  
   Default value is ModifierKeys.CONTROL + ModifierKeys.SHIFT. 
   It is used durring the user action of selecting an Osnap 
   By moving the cursor over objects and when an Osnap is find it saved in the temporary cross Osnaps list and they are drawn as crosses, this is used to help the user to find the Osnap points when the cursor is close to them.  
   This property is used to give the user the ability to clear these temporary cross Osnaps by pressing a key combination on the keyboard.
   This property is static and applies to all documents of the application.
   Alternatively the user can clear the temporary cross Osnaps by calling ActiveLayOut.OverAllActiveAction.ClearTemporaryOsnaps().


int OsnapCrossMarksCount
   Get/Set the number of temporary cross Osnaps that are added to the active action list. 
   Default value is 20. 
   If items reach the maximum number of temporary cross Osnaps then the first added temporary cross Osnap is removed from the list when a new temporary cross Osnap is added.
   This property is static and applies to all documents of the application. 

int OsnapExtensionMarksCount
   Get/Set the number of extension temporary cross Osnaps that are added to the active action list. 
   Default value is 20. 
   If items reach the maximum number of extension temporary cross Osnaps then the first added temporary cross Osnap is removed from the list when a new temporary cross Osnap is added.
   This property is static and applies to all documents of the application.
   An object extension is added to the temporary extension cross Osnaps list when the user moves the cursor over an object line or arc and the osnapMode contains OsnapMode.EXTENSION


int OsnapTrakingMarksMarksCount
   Get/Set the number of tracking Osnaps that are added to the active action tracking list. 
   Default value is 20. 
   If items reach the maximum number of tracking Osnaps then the first added tracking Osnap is removed from the list when a new tracking Osnap is added.  
   This property is static and applies to all documents of the application.  
   An object tracking osnap is added to the action tracking list when the user moves the cursor over an object osnap  
  If  the user move the cursor over an existing tracking then it makes it inactive and not taking in considaration ofr tracking lines insersections

Send comments on this topic.