AutoCAD Civil 3D General Discussion

AutoCAD Civil 3D General Discussion

Reply
Valued Contributor
nickseman
Posts: 53
Registered: ‎11-13-2006
Message 1 of 8 (494 Views)

Associating a Project to Current/Multiple Drawings

494 Views, 7 Replies
10-22-2012 03:19 PM

When using the Associate Project to Current Drawing or Associate Project to Multiple Drawings command(s) where does this association data get stored?  When using the Multiple Drawings option I do not see the save time/date being modified on the individual DWG's.  I also do not note any file being modified under the shortcut working folder which would contain associated drawing names.  How does C3D "know" what project a file is associated with?

 

Thanks in advance for any help.

Nick

*Expert Elite*
LeafRiders
Posts: 325
Registered: ‎09-28-2010
Message 2 of 8 (483 Views)

Re: Associating a Project to Current/Multiple Drawings

10-22-2012 05:45 PM in reply to: nickseman

The files are stored within the directory of your Project files. You should set this each time depending on which project you're working on. Mine original was set to some place on my C drive, so I'm guessing that's where yours is as well.

*Expert Elite*
troma
Posts: 2,520
Registered: ‎05-21-2008
Message 3 of 8 (460 Views)

Re: Associating a Project to Current/Multiple Drawings

10-23-2012 08:14 AM in reply to: LeafRiders

LeafRiders wrote:

The files are stored within the directory of your Project files.


Can you explain what that means?  Is it where the .dwg is saved or where the Data Shortcuts ( .xml ) are saved?  Or somewhere else?  Is it one of the file paths in Options > Files?

Thanks.


Credit where credit is due! Give kudos or accept as solution whenever you can.

*Expert Elite*
LeafRiders
Posts: 325
Registered: ‎09-28-2010
Message 4 of 8 (447 Views)

Re: Associating a Project to Current/Multiple Drawings

10-23-2012 12:00 PM in reply to: troma

In every project file you should have one called Design. (IMO) Set this folder as your working folder from the Right-click menu in your toolspace on the Data Shortcuts line.

 

From there you select New Datashortcuts "Project Folder" - I use my Project#_DS as mine and this will be created whereever you "Set" your working folder to be. In this case if you selected the "Design" folder within your main Project directory structure your files will be saved there accordingly within the folder Project#_DS


Hope this helps. It is a little bit awkward I'll have to admit. The more you work with DSCs the easier it becomes. Good Luck!  (See attachments)

 

The Associate Project to Current Drawing should make those datashortcuts available for use for that drawing. The Multiple drawings option I assume will do it for everything is open. I simply don't use that one for obvious reasons.

*Expert Elite*
troma
Posts: 2,520
Registered: ‎05-21-2008
Message 5 of 8 (435 Views)

Re: Associating a Project to Current/Multiple Drawings

10-23-2012 12:58 PM in reply to: LeafRiders

The multiple drawing option associates the project to all files in a specified folder.  That can be useful.

 

The original poster said "When using the Multiple Drawings option I do not see the save time/date being modified on the individual DWG's.  I also do not note any file being modified under the shortcut working folder"

 

So if the drawings are not modified to save this info, and no files in the Datashortcuts "Project Folder" are modified to save the info, where is it saved?


Credit where credit is due! Give kudos or accept as solution whenever you can.

Valued Contributor
nickseman
Posts: 53
Registered: ‎11-13-2006
Message 6 of 8 (409 Views)

Re: Associating a Project to Current/Multiple Drawings

10-25-2012 05:46 AM in reply to: troma

TROMA said >> So if the drawings are not modified to save this info, and no files in the Datashortcuts "Project Folder" are modified to save the info, where is it saved? <<

 

Yes - that is the question.  Can somebody from Autodesk address this question?  Hopefully you know how it works since you wrote the program . . . 

 

Is the information stored in Alternative Data Streams or something along those lines ?

 

Nick

*Expert Elite*
AllenJessup
Posts: 5,970
Registered: ‎05-21-2003
Message 7 of 8 (403 Views)

Re: Associating a Project to Current/Multiple Drawings

10-25-2012 06:26 AM in reply to: troma

troma wrote:

 

So if the drawings are not modified to save this info, and no files in the Datashortcuts "Project Folder" are modified to save the info, where is it saved?


I know that this doesn't solve the question in any way, complicates it in fact. But if the programmer decided that it might lead to confusion if all the file dates were changed to that date and time. It's quite possible that the routine was written to preserve the original file date and time.

 

Allen

Valued Contributor
nickseman
Posts: 53
Registered: ‎11-13-2006
Message 8 of 8 (399 Views)

Re: Associating a Project to Current/Multiple Drawings

10-25-2012 06:39 AM in reply to: AllenJessup

Well I might have to take back my statement about the file time stamp not changing.  I just setup a test and using the Associate Project to Multiple Drawings did indeed modify the drawings selected.  This was not the behavior I observed the other day however I will have to look back into that.  If the file itself is changed then that seems to answer my original question.

 

On a side note I did take a look at alternative data streams and there are not any attached to the DWG files so that is not the answer.

 

Nick

Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.