.NET

.NET

Reply
*Expert Elite*
1,569 Posts
171 Kudos
Registered: ‎10-08-2008
Post 11 of 14

Re: Save, Close, and re-Open a Drawing

07-21-2012 04:47 AM in reply to: mgorecki

I'm wondering, have you tried my code

instead of your lesson for me?

 

_____________________________________
C6309D9E0751D165D0934D0621DFF27919
Mentor
415 Posts
0 Kudos
Registered: ‎09-23-2004
Post 12 of 14

Re: Save, Close, and re-Open a Drawing

07-23-2012 08:11 AM in reply to: Hallex

Hi Hallex,

The SaveOpenClose in my code is just a sub.  In order for me to use the "CommandFlags.Sesssion" it would have to be in the main calling code.  If I put it there, other things stop working, like layertables in other subs.  That's why I was asking if a main command method could launch another command method.

Also, I'm not sure of any lesson for you that I posted.  I was just asking if a command method could launch another command method as I was having problems with putting the "CommandFlags.Sessions" in the main command method.

You've helped me before and I'm really greatful for all the help.  No slight ever intended.

*Expert Elite*
1,569 Posts
171 Kudos
Registered: ‎10-08-2008
Post 13 of 14

Re: Save, Close, and re-Open a Drawing

07-23-2012 08:41 AM in reply to: mgorecki

Hi, mate, please do not make an offence on me

I just  didn't understand your task completely,

I've used local command name in my code

Cheers :smileyhappy:

 

~'J'~

 

_____________________________________
C6309D9E0751D165D0934D0621DFF27919
Mentor
415 Posts
0 Kudos
Registered: ‎09-23-2004
Post 14 of 14

Re: Save, Close, and re-Open a Drawing

07-23-2012 09:30 AM in reply to: Hallex

No worries, have a great day!  :smileyhappy:

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!