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: 

acaddoc not working

8 REPLIES 8
SOLVED
Reply
Message 1 of 9
troma
557 Views, 8 Replies

acaddoc not working

I never used this function before.  Read about it a few times on here & elsewhere, thought I'd try it.

 

Here it is:

 

(SETVAR "CMDDIA" 1)
(SETVAR "FILEDIA" 1)
(SETVAR "PICKFIRST" 1)
(SETVAR "VISRETAIN" 1)
(SETVAR "INSUNITS" 6)
(SETVAR "INSUNITSDEFSOURCE" 6)
(SETVAR "INSUNITSDEFTARGET" 6)
(SETVAR "GEOMARKERVISIBILITY" 0)
(SETVAR "FACETDEV" 0.01)
(SETVAR "MODEMACRO" "Company Name")

 

Most of these settings are already in the template and most drawings, so I don't know if it is working or not.  But I get this error every time I open a drawing:

 


AutoCAD menu utilities loaded.; error: AutoCAD variable setting rejected:
"FACETDEV" 0.01

 

Any idea what's wrong with my syntax on that?

 

Also, the modemacro is ignored.  No error message on that, but it isn't being set.

 

Thanks.

 

 


Mark Green

Working on Civil 3D in Canada

8 REPLIES 8
Message 2 of 9
g_k50
in reply to: troma

Did you check the help file on acaddoc?

Message 3 of 9
troma
in reply to: g_k50

Can you recommend a help file?

I did find this:  "If an AutoLISP error occurs while you are loading a startup file, the remainder of the file is ignored and is not loaded."  which explains why my modemacro was ignored.  I moved the FACETDEV to the end of the file, and now the modemacro works.  But the FACETDEV is still returning the error.  I see nothing wrong with my syntax in comparison to all the other variables I'm setting, or in comparison to this help page.  Is there any other page you suggest?

Thanks.


Mark Green

Working on Civil 3D in Canada

Message 4 of 9
AllenJessup
in reply to: troma

See if THIS thread helps.

 

Allen

Allen Jessup
CAD Manager - Designer
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Message 5 of 9
jmayo-EE
in reply to: troma

Where is the file stored and is this path on top of the support path list in acad options? The path list has a hierarchy of top presiding over bottom. If you have your own acaddoc on the net and the defualt acaddoc in the default support path you may be loading the one you don't want.

John Mayo

EESignature

Message 6 of 9
jmayo-EE
in reply to: troma

...and if you want to test the file temporarily change the variables to setting you don't want and see if the changes are there when you start a new doc.

John Mayo

EESignature

Message 7 of 9
jmayo-EE
in reply to: troma

(SETVAR "FACETDEV" 0.01)

 

Does this work if you type it into the command line?

 

 

John Mayo

EESignature

Message 8 of 9
Jeff_M
in reply to: troma

From the help file:

FACETDEV and FACETMAX are AutoCAD Civil 3D variables (rather than AutoCAD variables). They are therefore not listed when using the AutoCAD command SETVAR.

 

This also means they cannot be set with (setvar). You would need to use the (command) call to set these.

 

Edit: AFter posting I saw this was already solved...sure wish that little green check mark was a bit more visible.

Jeff_M, also a frequent Swamper
EESignature
Message 9 of 9
troma
in reply to: jmayo-EE

You guys got it!


@jfmayo wrote:

(SETVAR "FACETDEV" 0.01)

 

Does this work if you type it into the command line?

 

 


Nail on the head.  No, it doesn't work.  Because, (from the link Allen posted):


@tcorey wrote:

FACETDEV is a command, not a system variable.

 

Use (command "FACETDEV" 1) or whatever value you want to set.

 ...

 


All this time I though it was a sysvar, and it's not.  Using Tim's method works, thanks!

Mark Green

Working on Civil 3D in Canada

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

Post to forums  

Rail Community


 

Autodesk Design & Make Report