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: 

Automatically set FACETDEV variable

4 REPLIES 4
SOLVED
Reply
Message 1 of 5
derel
1114 Views, 4 Replies

Automatically set FACETDEV variable

Does anyone know how you can set the FACETDEV variable in the acaddoc.lsp file or some other automatic way? Having to set it manually every time you open a file with a pipe shown in crossing profile or section is just annoying.  FACETDEV doesn't seem to be recognized by the SETVAR method like most other settings which I set in my acaddoc.lsp.

 

Has anyone done this?

4 REPLIES 4
Message 2 of 5
castled071049
in reply to: derel

We set it once in the base template, and it never changes from that setting. Been like that for years now.

Message 3 of 5
AllenJessup
in reply to: derel

This format will work for setting it through lisp:

 

(command "FACETDEV" "0.152")

 

However I don't know if it will work at the point the acaddoc.lsp is being loaded.

 

Allen

 

BTW I tried it as an environmental variable also and that didn't work either.



Allen Jessup
Engineering Specialist / CAD Manager

Message 4 of 5
tcorey
in reply to: derel

FACETDEV is a command, not a system variable.

 

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

 

or

 

(vl-com-load)

(vl-cmdf "FACETDEV" 1)

 

Tim

 



Tim Corey
MicroCAD Training and Consulting, Inc.
Redding, CA
Autodesk Gold Reseller

New knowledge is the most valuable commodity on earth. -- Kurt Vonnegut
Message 5 of 5
derel
in reply to: derel

Thanks guys - didn't think about it being set and sticking in the template.

 

The command "facetdev" 0.01 did the trick in the acaddoc.lsp

 

Thanks!

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

Post to forums  

Rail Community


Autodesk Design & Make Report