custom Treeview

custom Treeview

Anonymous
Not applicable
1,031 Views
15 Replies
Message 1 of 16

custom Treeview

Anonymous
Not applicable
Hi i am totally new here. can anybody be kind to guide me into creating a custom treeview in AutoCAD 2010 using Visual studio 2008 with C#? i have no idea how to start. all i have known is i just gone through some tutorial about creating a helloworld command in autocad 2010 and something like that.. thanks.
0 Likes
1,032 Views
15 Replies
Replies (15)
Message 2 of 16

Anonymous
Not applicable
http://msdn.microsoft.com/en-us/beginner/default.aspx

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD
Supporting AutoCAD 2000 through 2010

http://www.acadxtabs.com

Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");

wrote in message news:6289377@discussion.autodesk.com...
Hi i am totally new here. can anybody be kind to guide me into creating a
custom treeview in AutoCAD 2010 using Visual studio 2008 with C#? i have no
idea how to start. all i have known is i just gone through some tutorial
about creating a helloworld command in autocad 2010 and something like
that.. thanks.
0 Likes
Message 3 of 16

Anonymous
Not applicable
I would start here:

http://msdn.microsoft.com/en-us/beginner/default.aspx

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD
Supporting AutoCAD 2000 through 2010

http://www.acadxtabs.com

Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");

wrote in message news:6289377@discussion.autodesk.com...
Hi i am totally new here. can anybody be kind to guide me into creating a
custom treeview in AutoCAD 2010 using Visual studio 2008 with C#? i have no
idea how to start. all i have known is i just gone through some tutorial
about creating a helloworld command in autocad 2010 and something like
that.. thanks.
0 Likes
Message 4 of 16

Hallex
Advisor
Advisor
Here is a quick windows application partially borrowed from
my custom lisp navigator
Hope this helps

~'J'~
_____________________________________
C6309D9E0751D165D0934D0621DFF27919
0 Likes
Message 5 of 16

Anonymous
Not applicable
Tony, i have got to ask - is this where you got your start (LOL)

Patrick Johnson
http:\\www.cadenhancement.com
0 Likes
Message 6 of 16

Anonymous
Not applicable
Hi Tony thanks for the reply.. i have go through the site, but i have to ask, is there any API thing, that i can build a treeview in AutoCAD 2010 instead of building a windows application of treeview? thanks
0 Likes
Message 7 of 16

Anonymous
Not applicable
Thanks hallex
0 Likes
Message 8 of 16

Anonymous
Not applicable
The way you use a treeview in AutoCAD isn't much different from the way you
do it in a windows application.

But, to do that, you have to be reasonably familar building AutoCAD
applications using .NET, and it's fairly obvious from your questions that
you've never done that before.

Using .NET and AutoCAD's ObjectARX API is something that requires some
learning and experience, which is why I pointed you at that site.

It seems that you're looking for an 'easy button'. Sorry to disappoint, but
there is none.

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD
Supporting AutoCAD 2000 through 2010

http://www.acadxtabs.com

Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");

wrote in message news:6292455@discussion.autodesk.com...
Hi Tony thanks for the reply.. i have go through the site, but i have to
ask, is there any API thing, that i can build a treeview in AutoCAD 2010
instead of building a windows application of treeview? thanks
0 Likes
Message 9 of 16

Hallex
Advisor
Advisor
You're welcome
Cheers 🙂

~'J'~
_____________________________________
C6309D9E0751D165D0934D0621DFF27919
0 Likes
Message 10 of 16

Anonymous
Not applicable
Thanks, i was just confused because i am suppose to make a treeview in AutoCAD, but seems that the web you suggested somehow guided me into a windows application.. thanks for the explanation..
0 Likes
Message 11 of 16

Anonymous
Not applicable
That site was more about learning to use the tools, which
are the same whether you are developing standalone windows
applications or AutoCAD appilicatons.

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD
Supporting AutoCAD 2000 through 2010

http://www.acadxtabs.com

Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");

wrote in message news:6292611@discussion.autodesk.com...
Thanks, i was just confused because i am suppose to make a treeview in
AutoCAD, but seems that the web you suggested somehow guided me into a
windows application.. thanks for the explanation..
0 Likes
Message 12 of 16

Anonymous
Not applicable
ok.. may i have any clue about which dll class in autoCAD should i make reference to?? for the treeview i mean.. thanks
0 Likes
Message 13 of 16

Anonymous
Not applicable
The treeview is NOT part of the acad API. It is part of the Windows framework.
You may use it when you create a dialog box in autocad, then populate it with the autocad data that you wish

Patrick Johnson
http:\\www.cadenhancement.com
0 Likes
Message 14 of 16

Anonymous
Not applicable
thanks for the info Patrick. may i know where can i learn all these creating a dialog box?? i have learnt how to make a very simple tree view and adding nodes into it. do i need to compile it into an exe file or something like that in order for it to work in AutoCAD?
0 Likes
Message 15 of 16

Anonymous
Not applicable
It sounds that you are very new to programming in general and here is what you need to do besides maybe going to where Tony sent you
Get SDK on autocad API and do tutorials
Get a couple reference books on dot net programming
You may want to take some classes on programming
If you are working for a company - hire it out

Just my .02 cents worth

Patrick Johnson
http:\\www.cadenhancement.com
0 Likes
Message 16 of 16

Anonymous
Not applicable
I am still a student.. this is my homework.. this is kind of new to me.. all i know is C and C++ programming.. i never deal with C# and windows form type programming.. thanks for the guides..
0 Likes