New Sample: Application-Defined System Variables

New Sample: Application-Defined System Variables

Anonymous
Not applicable
1,251 Views
5 Replies
Message 1 of 6

New Sample: Application-Defined System Variables

Anonymous
Not applicable

 

   http://www.caddzone.com/CustomSystemVariableExample.zip

 

Abstract:

 

As of AutoCAD 2010, it has been possible to add new system variables to

AutoCAD, that are both defined and managed by ObjectARX extensions

(managed or native).

 

Application-defined system variables behave just like AutoCAD's

own 'built-in' system variables.

 

The sample project at the above link shows how to implement your own

application-defined system variables.

0 Likes
1,252 Views
5 Replies
Replies (5)
Message 2 of 6

kerry_w_brown
Advisor
Advisor

 

Thank you Tony.

Interesting concept with a lot of potential.

... and a generous license.

also excellent study material.

Regards, 


// Called Kerry or kdub in my other life.

Everything will work just as you expect it to, unless your expectations are incorrect. ~ kdub
Sometimes the question is more important than the answer. ~ kdub

NZST UTC+12 : class keyThumper<T> : Lazy<T>;      another  Swamper
0 Likes
Message 3 of 6

Anonymous
Not applicable

Hope this is a tease to book or guide you are putting together

0 Likes
Message 4 of 6

Anonymous
Not applicable

Well, it woudln't make sense to just throw it out there if that were the case, as I haven't really left much out.

0 Likes
Message 5 of 6

Anonymous
Not applicable

Sorry, what I meant was the example was great. It had a good explantion and good design pattern,reusable, easy to matain etc...... all of the things you try to accomplish writing code.

I was implying it would great to have a book that covered many topics in the API like your example.

0 Likes
Message 6 of 6

Anonymous
Not applicable

Sorry about that.

 

I didn't bother checking the 2010 API, and just learned that the APIs

required to implement app-defined sysvars is not avaialble in 2010.

 

A revised and expanded version of the sample has been posted at

the same URL, which makes that clear.

0 Likes