.NET

.NET

Reply
*Carlos
Message 1 of 3 (237 Views)

What does CommandFlags.Session do?

237 Views, 2 Replies
09-02-2005 04:23 PM
I read the documentation but I'm still confused.

What does this flag do to the command?

Thanks,
C
*Carlos
Message 2 of 3 (237 Views)

Re: What does CommandFlags.Session do?

09-02-2005 05:03 PM in reply to: *Carlos
Actually, does anyone know of a place where I can get a description of all
the CommandFlags?

Here's what my ArxRef Help document has to say about them (the descriptions
fields are empty):

Name Description
NoBlockEditor
NoUndoMarker
NoHistory
Interruptible
Session
DocExclusiveLock
DocReadLock
NoInternalLock
NoNewStack
Defun
InProgress
Undefined
NoOem
PlotOnly
NoPaperSpace
NoTileMode
NoMultiple
NoPerspective
Redraw
UsePickSet
Transparent
Modal



"Carlos" wrote in message
news:4947044@discussion.autodesk.com...
I read the documentation but I'm still confused.

What does this flag do to the command?

Thanks,
C
*Tony Tanzillo
Message 3 of 3 (237 Views)

Re: What does CommandFlags.Session do?

09-03-2005 06:37 AM in reply to: *Carlos
It runs the command in the Application context.

In other words, it behaves like event handlers in
a modeless dialog, which means you must lock
documents before trying to alter their state.

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006
http://www.acadxtabs.com

"Carlos" wrote in message news:4947044@discussion.autodesk.com...
I read the documentation but I'm still confused.

What does this flag do to the command?

Thanks,
C
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.