Community
Civil 3D Forum
Welcome to Autodesk’s Civil 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Civil 3D topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Associating a Project to Current/Multiple Drawings

8 REPLIES 8
Reply
Message 1 of 9
nickseman
3940 Views, 8 Replies

Associating a Project to Current/Multiple Drawings

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

8 REPLIES 8
Message 2 of 9
LeafRiders
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.

Message 3 of 9
troma
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.


Mark Green

Working on Civil 3D in Canada

Message 4 of 9
LeafRiders
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.

Message 5 of 9
troma
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?


Mark Green

Working on Civil 3D in Canada

Message 6 of 9
nickseman
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

Message 7 of 9
AllenJessup
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



Allen Jessup
Engineering Specialist / CAD Manager

Message 8 of 9
nickseman
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

Message 9 of 9
dave.cumming
in reply to: nickseman

I'd also like to hear from Autodesk on the question that @nickseman raised (and that @troma also seemed to understand). If it is not stored in alt. data streams, and there is no .xml file keeping track of it, then where is the data stored?

If I open a .dwg file that is associated with some project, and that project cannot be found, the AutoCAD command display window will report "Drawing cannot locate the project (<project-name>-A234567-B123-4567-8910-1234C5D5678)" so, to be clear.... Where does the .dwg file record that information?

 

I'd like to add another line of questioning while we're at it...

If instead of establishing association to a project, what if the <None> option is selected, with the intent to effectively "disassociate" the drawing(s) from a project? Then in this case, where is the data removed from? 

Do either (or both) of these actions warrant a change to the date modified time stamp?

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


Autodesk Design & Make Report