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: 

FILEDIA resetting after Plotting from Sheet Set Manager

13 REPLIES 13
Reply
Message 1 of 14
bryancollins3174
1812 Views, 13 Replies

FILEDIA resetting after Plotting from Sheet Set Manager

I'm not sure if there is a setting some place or not to tackle my current problem. It seems everytime I plot a drawing set from Sheet Set Manager (SSM) the next time I login and open Civil 3D the FILEDIA system variable has been reset to '0'. Any suggestions?

I'd greatly appeciate any and all help.

Bryan Collins (Cadd Technician)
Program: Civil 3D 2010 w/ SP2
OS: Windows XP Pro w/ SP3 using 3g switch
Bryan Collins
Cadd Technician
Windows 7 Prof w/ SP1, 64bit, Xeon 3Ghz, 16GB
Civil 3D 2013
13 REPLIES 13
Message 2 of 14
Anonymous
in reply to: bryancollins3174

Add filedia=1 to your acaddoc.lsp file?
Message 3 of 14
Anonymous
in reply to: bryancollins3174

Hi,

Edit your CUI file to append

Filedia;1;

to the Sheet Set Manager command

That way after using the command filedia will be 1

Another method is to add the Filedia;1; as a prefix to the various
commands where you want to see the dialog box File Open, file Save etc.


Regards,


Laurie Comerford

bryancollins3174 wrote:
> I'm not sure if there is a setting some place or not to tackle my current problem. It seems everytime I plot a drawing set from Sheet Set Manager (SSM) the next time I login and open Civil 3D the FILEDIA system variable has been reset to '0'. Any suggestions?
>
> I'd greatly appeciate any and all help.
>
> Bryan Collins (Cadd Technician)
> Program: Civil 3D 2010 w/ SP2
> OS: Windows XP Pro w/ SP3 using 3g switch
>
Message 4 of 14

Laurie,

Is this something that you could walk me through? I have no clue what you are talking about.

Bryan
Bryan Collins
Cadd Technician
Windows 7 Prof w/ SP1, 64bit, Xeon 3Ghz, 16GB
Civil 3D 2013
Message 5 of 14
Anonymous
in reply to: bryancollins3174

Hi Bryan,

At the At the command prompt type CUI

When the form is displayed (it takes a while to display) expand it till
you can see the screen as in the CUI_Default screen grab

Edit the macro for File New as shown in the second screen grab

You can also do File Open and File close in the same way.

Click on Apply and then Close the CUI editor.


Regards,


Laurie Comerford

bryancollins3174 wrote:
> Laurie,
>
> Is this something that you could walk me through? I have no clue what you are talking about.
>
> Bryan
>
Message 6 of 14

That is a known issue, so maybe it will get fixed.
Message 7 of 14
Anonymous
in reply to: bryancollins3174

Hi,

What is a known issue? What is the fix you propose?

AutoCAD has hundreds of system variables to allow users to operate the
software to suit their needs. Filedia is one of them.

Any well written customisation software which changes the value will
return it to its initial value on completion. However, users often
cancel commands before they complete and leave the settings changed. It
would be quite unlikely you would have it change if you never use the
key.

Better written software traps the . key and returns the values
regardless, but not all customisation is well written.


Regards,


Laurie Comerford

ksknifer@juno.com wrote:
> That is a known issue, so maybe it will get fixed.
>
Message 8 of 14

The known issue is filedia resetting itself to 0 after plotting from sheetset manager. It shouldn't do that. Your suggestion is a good one to deal with it.
Message 9 of 14
Sinc
in reply to: bryancollins3174

So what else triggers the problem, then?

I've never seen the SSM reset FILEDIA. Is it a 2010 problem only? Or does it only happen when you do something else, or have some other setting set in a specific way?

Oh - I have something in my ACADDOC.LSP file that resets FILEDIA to 1... Maybe that's why I've never noticed this?

-- Sinc
Sinc
Message 10 of 14
Sinc
in reply to: bryancollins3174

> {quote:title=Guest wrote:}{quote}

> Any well written customisation software which changes the value will
> return it to its initial value on completion. However, users often
> cancel commands before they complete and leave the settings changed. It
> would be quite unlikely you would have it change if you never use the
> key.

Actually, I usually saw this problem after C3D crashed.

And really, I could think of several ways that this problem could be fixed for good, rather than seeing it constantly come up in the DG's. (It's got to be the single-most FAQ for Autocad, based on how often I see it.) For that matter, at the simplest level, I could see Autocad simply setting this to 1 by default during startup. After all, why would a user ever want it set to 0? The only things that want it set to 0 are customization routines.

That's basically what I did, by adding a line to my ACADDOC.LSP file that resets FILEDIA to 1. I haven't had FILEDIA problems since. (I also set the other two Do-It-Again variables to 1 in my ACADDOC.LSP, as well - CMDDIA and ATTDIA - because I've seen those get reset occasionally, as well. Nowhere near as often as FILEDIA, but it happened occasionally.)

-- Sinc
http://www.ejsurveying.com
http://www.quuxsoft.com
Sinc
Message 11 of 14

Same here. I usually see it after a crash. I agree. Why would anyone want it set to zero anyway? I may add that to my lsp. That's a good idea.
Message 12 of 14
Anonymous
in reply to: bryancollins3174

Cancelling out of the Insert command dialog used to trigger it, alone with
some of the functions that displayed a windows command dialog and the user
clicked on the big X instead of cancel.

--

Murph
http://map3d.wordpress.com/


"dei-feif" wrote in message news:6331752@discussion.autodesk.com...
So what else triggers the problem, then?

I've never seen the SSM reset FILEDIA. Is it a 2010 problem only? Or does
it only happen when you do something else, or have some other setting set in
a specific way?

Oh - I have something in my ACADDOC.LSP file that resets FILEDIA to 1...
Maybe that's why I've never noticed this?

-- Sinc
Message 13 of 14
Anonymous
in reply to: bryancollins3174

Hi Sinc,

Being a Devil's advocate I can see a couple of reasons a user might work
with filedia = 0

Ever wondered where your templates are stored?
Set filedia to 0 and type new

Working in an environment where you have a large number of files in a
folder on the AutoCAD path, and typically they have nice short names and
you work with one of them for days on end, so that remembering and
typing the name is a non issue, you could develop a working habit of
having filedia at 0 and typing "~" if and when you need to see the file
dialog box.

User options:
Adding the setting (setvar "Filedia" 1) to the Acaddoc lisp will set it
to 1 each time you open a drawing, but if it is reset during the working
session then it will be noticed until such time as another drawing is
opened.
However, the customisation can be readily carried forward on upgrade.

Adding it as a prefix to the relevant commands as I showed means it will
never raise it's ugly head again. But it does means you have to
customise the menu for each new version (or rely on the tools Autodesk
provide for that purpose.)

I thought another approach would be to add something like:

{code}
(defun C:MyOpen ()
(setvar "filedia" 1)
(command "open")
)
{code}

to the Acaddoc file and call that from the menu or keyboard. I'm
missing something somewhere as none of the lines below work for me.

{code}
(command "_open")
(vl-cmdf "_open")
(command "open")
(vl-cmdf "open")
(command "open" "")
(vl-cmdf "open" "")

{code}

doesn't work for me. Needs a lisp guru.


Regards,


Laurie Comerford


dei-feif wrote:
>> {quote:title=Guest wrote:}{quote}
>>
>
>
>> Any well written customisation software which changes the value will
>> return it to its initial value on completion. However, users often
>> cancel commands before they complete and leave the settings changed. It
>> would be quite unlikely you would have it change if you never use the
>> key.
>>
>
> Actually, I usually saw this problem after C3D crashed.
>
> And really, I could think of several ways that this problem could be fixed for good, rather than seeing it constantly come up in the DG's. (It's got to be the single-most FAQ for Autocad, based on how often I see it.) For that matter, at the simplest level, I could see Autocad simply setting this to 1 by default during startup. After all, why would a user ever want it set to 0? The only things that want it set to 0 are customization routines.
>
> That's basically what I did, by adding a line to my ACADDOC.LSP file that resets FILEDIA to 1. I haven't had FILEDIA problems since. (I also set the other two Do-It-Again variables to 1 in my ACADDOC.LSP, as well - CMDDIA and ATTDIA - because I've seen those get reset occasionally, as well. Nowhere near as often as FILEDIA, but it happened occasionally.)
>
> -- Sinc
> http://www.ejsurveying.com
> http://www.quuxsoft.com
>
Message 14 of 14

Thanks everyone for your input, especially you Laurie. I edited the CUI like you suggested. Hopefully everything works like it should now.

Bryan
Bryan Collins
Cadd Technician
Windows 7 Prof w/ SP1, 64bit, Xeon 3Ghz, 16GB
Civil 3D 2013

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

Post to forums  

Rail Community


Autodesk Design & Make Report