.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Jig UserInputControls explanation

1 REPLY 1
Reply
Message 1 of 2
dawido000
1017 Views, 1 Reply

Jig UserInputControls explanation

Can anybody discribe influence on user input of every flag in enum UserInputControls? I think it would be very helpful for many people, who have problems with creating Jigs.

 

public enum UserInputControls
{
GovernedByOrthoMode = 1,
NullResponseAccepted = 2,
DoNotEchoCancelForCtrlC = 4,
DoNotUpdateLastPoint = 8,
NoDwgLimitsChecking = 16,
NoZeroResponseAccepted = 32,
NoNegativeResponseAccepted = 64,
Accept3dCoordinates = 128,
AcceptMouseUpAsPoint = 256,
AnyBlankTerminatesInput = 512,
InitialBlankTerminatesInput = 1024,
AcceptOtherInputString = 2048,
GovernedByUCSDetect = 4096,
NoZDirectionOrtho = 8192,
UseBasePointElevation = 32768,
}

 

1 REPLY 1
Message 2 of 2

This is a copy & paste from the help files, does it help?

 

Accept3dCoordinates = 0x80 
Sets the "Accept Z coordinate" mode. Input is restricted to 2d input by default. 
AcceptMouseUpAsPoint = 0x100 
Sets the "Use mouse up for points" mode. Mouse-up events do not register as points by default. 
AcceptOtherInputString = 0x800 
Sets the "Accept non-keyword string input" mode. This mode is off by default. 
AnyBlankTerminatesInput = 0x200 
Sets the "Any blank terminates input" mode. This mode is off by default. 
DoNotEchoCancelForCtrlC = 4 
Sets the "Don't echo *Cancel* for Ctrl-C's" mode. This is off by default, and *Cancel* is displayed. 
DoNotUpdateLastPoint = 8 
Sets the "Don't update last point" mode. The last point is updated by default. 
GovernedByOrthoMode = 1 
Sets the "honor ORTHOMODE sysvar" bit of the user input request packet. By default, this bit is not set.
Note that the Jig.acquirePoint(Point3d&, const Point3d&basePnt) method always honors the ORTHOMODE sysvar, regardless of this bit's state. 
GovernedByUCSDetect = 0x1000 
Description to come. 
InitialBlankTerminatesInput = 0x400 
Sets the "Initial blank terminates input" mode. This mode is off by default. 
NoDwgLimitsChecking = 0x10 
Sets the "Do not check point limits" mode. Drawing limits are checked by default. 
NoNegativeResponseAccepted = 0x40 
Sets the "Don't accept negative values" mode. Negative values are accepted by default. This works for the functions acquireDist() and acquireAngle() only. 
NoZDirectionOrtho = 0x2000 
Description to come. 
NoZeroResponseAccepted = 0x20 
Sets the "Don't accept zero values" mode. Zero values are accepted by default. This works for the functions acquireDist() and acquireAngle() only. 
NullResponseAccepted = 2 
Sets the "null input acceptable" bit of the user input request packet. This bit is clear by default, and null input is not acceptable. 
Regards,



Augusto Goncalves
Twitter @augustomaia
Autodesk Developer Network

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost