Author Topic: First project  (Read 1755 times)

0 Members and 1 Guest are viewing this topic.

Drafter X

  • Swamp Rat
  • Posts: 578
First project
« on: November 20, 2012, 10:58:25 AM »
ok.. for my first project, something I would find very useful
I have a lot of blocks with attributes that use fields to reference attribute values in another block. the structure is VERY consistant (i.e. all the blocks in an area would always reference the same block). But in reusing drawing bits sometimes I get a few here and there that reference the wrong block  from copying from another room and such. Since there are a LOT of attributes for finishes, room numbers, room names, items codes, etc I think this would be a big time saver.

So I am thinking it would be a good practice bit to get a selection, find the entities references in those fields and update them to the new entity. 
I have NO idea how to start, but thats half the fun   :-D
CadJockey Militia Commander

tik

  • Guest
Re: First project
« Reply #1 on: November 20, 2012, 01:39:07 PM »
Have you checked this blog http://through-the-interface.typepad.com/. Kean has sample apps for various parts of the API and other blog I will check is http://adndevblog.typepad.com/autocad/.

Good luck with your project.

Tik

Jeff H

  • Needs a day job
  • Posts: 6151
Re: First project
« Reply #2 on: November 20, 2012, 01:52:37 PM »
I would start off with studying and creating projects that have absolutely nothing, no mention of, anything that resembles, closely tries to relate to, furthest from your mind, etc.... to do with AutoCAD.
 
Learn some fundamentals and how to get around in VS. At first stay away from AutoCAD and focus on learning the basics and fundamentals.
 
My opinion but does not mean much.

BlackBox

  • King Gator
  • Posts: 3770
Re: First project
« Reply #3 on: November 20, 2012, 01:55:41 PM »
I would start off with studying and creating projects that have absolutely nothing, no mention of, anything that resembles, closely tries to relate to, furthest from your mind, etc.... to do with AutoCAD.
 
Learn some fundamentals and how to get around in VS. At first stay away from AutoCAD and focus on learning the basics and fundamentals.

... And when you're done with what he said ^^^... This post may be of help to you.
"How we think determines what we do, and what we do determines what we get."

Drafter X

  • Swamp Rat
  • Posts: 578
Re: First project
« Reply #4 on: November 20, 2012, 02:01:32 PM »
Thanks, feel like I am on the right track, been at those or sim. sights already.

Yeah, I may do one quick project just to copy files around my work folders just to get a feel for things, but I always learn better when its something I want  :laugh:
CadJockey Militia Commander

kaefer

  • Guest
Re: First project
« Reply #5 on: November 20, 2012, 06:45:19 PM »
So I am thinking it would be a good practice bit to get a selection, find the entities references in those fields and update them to the new entity. 

If those are Fields as in Autodesk.AutoCAD.DatabaseServices.Field, see Select Objects in the Drawing Area (.NET), which is the official word, Get all fields (or field names) from DBText or MText object, and Updating fields in Attributes.

The Swamp's search button is quite powerful (returning posts of one of the usual suspects).

Drafter X

  • Swamp Rat
  • Posts: 578
Re: First project
« Reply #6 on: November 20, 2012, 08:51:05 PM »
love the swamp for that, I don't post much, but I always have it open on the desktop and check it all through the day.  Confirmed lurker for like 5 years now =)  even was a screamer
CadJockey Militia Commander