Previous in Forum: Tact Time Calculation Software   Next in Forum: 2 develope game based software
Close
Close
Close
8 comments
Rate Comments: Nested
Active Contributor

Join Date: Oct 2007
Posts: 10

Link Inside AutoCAD to Excel Worksheet

11/15/2007 5:24 AM

Hi,

i'm new in here but i have some question, maybe anyone can help to solve my problem..I have some documentation in Excel files and i usually link each topic in my documentation with with the drawing itself (in CAD, dwg extension). Example :

In My Excel there is Drawing CC400 then I make hyperlink it to its original AutoCAD, so it ease to open and search. but now i have some problem that my drawing always change its revision from 1 to 2. My problem is i can't monitoring its revision (Edit Attribute Definition). What i need is when i open my worksheet it Excel then the hyperlink that contain revision will automatic change based on original one in AutoCAD files.

Thanks

Register to Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.
Guru
United Kingdom - Member - Indeterminate Engineering Fields - Control Engineering - New Member

Join Date: Jan 2007
Location: In the bothy, 7 chains down the line from Dodman's Lane level crossing, in the nation formerly known as Great Britain. Kettle's on.
Posts: 32175
Good Answers: 839
#1

Re: Link Inside AutoCAD to Excel Worksheet

11/15/2007 5:28 AM

OK, so how about saving each issue as it arises of the AutoCAD drawing as a soft print, possibly as a .pdf file, and linking the spreadsheet to the print, rather than the original CAD file? Would that work?

__________________
"Did you get my e-mail?" - "The biggest problem in communication is the illusion that it has taken place" - George Bernard Shaw, 1856
Register to Reply
Active Contributor

Join Date: Oct 2007
Posts: 10
#2
In reply to #1

Re: Link Inside AutoCAD to Excel Worksheet

11/15/2007 5:37 AM

But the problem if there is no communication of each other when change the revision, sometimes i saw some drawing with new revision without my control..but the communication is on and ok, but sometimes when we work too hard, we always forgot of something, so my point is that sometimes the revision is uncontrolled. If there any suggestion?

Register to Reply
Guru
United Kingdom - Member - Indeterminate Engineering Fields - Control Engineering - New Member

Join Date: Jan 2007
Location: In the bothy, 7 chains down the line from Dodman's Lane level crossing, in the nation formerly known as Great Britain. Kettle's on.
Posts: 32175
Good Answers: 839
#3
In reply to #2

Re: Link Inside AutoCAD to Excel Worksheet

11/15/2007 6:22 AM

It sounds as though there is insufficient write-protection in that the responsible Engineer, or a drawing office supervisor perhaps, is the only one that should be writing files to the area where approved and issued drawings are kept. It's something the local System Administrator might be able to correct. If so, then it's an office management and control issue, not a software one.

__________________
"Did you get my e-mail?" - "The biggest problem in communication is the illusion that it has taken place" - George Bernard Shaw, 1856
Register to Reply
Active Contributor

Join Date: Aug 2007
Posts: 19
#4

Re: Link Inside AutoCAD to Excel Worksheet

11/16/2007 11:13 AM

If you want to have updatable AutoCAD drawing i.e. ongoing changes of the source excel spreadsheet shall frequently modify the attribute values of the designated AutoCAD block, you need to write a little interactive utility using VBA or Lisp for AutoCAD. If you don't have a VBA programmer and there is a real need for such a utility in your office, my partner and I could do it for you (of cause, before we start, we should agree on man-hours and hourly rate)

Cheers, Len

Register to Reply
Active Contributor

Join Date: Oct 2007
Posts: 10
#5
In reply to #4

Re: Link Inside AutoCAD to Excel Worksheet

11/17/2007 12:11 AM

can u give me some example for macros things.

Register to Reply
Active Contributor

Join Date: Aug 2007
Posts: 19
#6
In reply to #5

Re: Link Inside AutoCAD to Excel Worksheet

11/19/2007 11:31 AM

Hello BOO-BOO,

The good example of such utility would be 'Pile Schedule Generator' that we programmed for Jacobs-Canada couple of years ago. They had 3D models of steel driven piles modeled in AutoCAD environment by a plug-in program (AutoPlant Structural by Bentley) and they wanted to generate 2D AutoCAD drawings with tables filled with pile data.

Some of these data had to be direct measurements from the 3D model (X,Y, Z and pile length) whereas others had to be read from pile properties; input by the user (seq. number, design area, foundation name, cross-section and pile-type). Moreover, we had to classify piles according to design areas and foundation names and then arrange them into groups delimited by spaces, within each group piles had to be arranged by sequential numbers. Because of this relatively complicated logic we had to come up with a set of grouping criteria that the user could change to his liking and a table preview interface.

The result was a table in AutoCAD file where each line was a block with attributes. These attributes had been arranged once by the user to suit the drafting traditions of the office and the specific needs of the project. However, the values of these attributes were assigned and re-assigned by the utility.

Does this answer your question or you'd like to look at the code samples?

Cheers, Len

Register to Reply
Active Contributor

Join Date: Oct 2007
Posts: 10
#7
In reply to #6

Re: Link Inside AutoCAD to Excel Worksheet

11/19/2007 9:08 PM

If you don't mind. I'd like to look the code samples.

Register to Reply
Active Contributor

Join Date: Aug 2007
Posts: 19
#8
In reply to #7

Re: Link Inside AutoCAD to Excel Worksheet

11/20/2007 12:33 PM

Certainly we can not send you a complete program (it is proprietary to the client); whereas if it's a little fragment(s) of the code it wouldn't produce anything by itself. If I send such a fragment, all you'd be able to do is to look at the code and run it in testing mode within AutoCAD VBA Editor. Do you what this kind of a fragment?

To make a fragment executable and productive we'd have to spend some time and arrange user's input and output. Spending this time is worth doing only if there is a potential to get renumeration i.e. if you or your office is able and willing to pay for the future development.

I suppose it would be better to communicate not via CR4 but directly. My e-mail at work is len.bogdanov@fluor.com and to learn about our business you can look at our web-site: http://www.cadalena.com/

What's your name and e-mail?

Cheers, Len

Register to Reply Off Topic (Score 5)
Register to Reply 8 comments
Copy to Clipboard

Users who posted comments:

BogdanovL (3); BOO-BOO (3); PWSlack (2)

Previous in Forum: Tact Time Calculation Software   Next in Forum: 2 develope game based software

Advertisement