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: 

INSUNITS Unitless is reset on open in Civil3D

11 REPLIES 11
Reply
Message 1 of 12
Anonymous
1057 Views, 11 Replies

INSUNITS Unitless is reset on open in Civil3D

Hello,

 

I have found a very interesting issue with Civil3D. If I create a drawing (DWG/DXF) in (plain) AutoCAD or AutoCAD LT and set the INSUNITS to Unitless, then open it in Civil3D and check INSUNITS they are reset to Meters. AutoCAD or AutoCAD LT handles Unitless properly and does not change it on open.

 

Does anybody know why is this happening in C3D? Any particular setting that might change this?

 

Simonas

11 REPLIES 11
Message 2 of 12
AllenJessup
in reply to: Anonymous

I tried it and this happens to me in C3D 2017. I created a drawing in AutoCAD and set INSUNITS to 0. When I opened it in Civil 3D. INSUNITS were set to 2 (Feet).

Now this is a presumption. Civil 3D is not a unitless program. It is either going to work in Meters or Feet. So I'm thinking the programmers made it to detect what your usual (or last) MO was and assign the INSUNITS accordingly. 

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 3 of 12
Dexterel
in reply to: Anonymous

you can try to freeze this variable in Civil 3D through SYSVARMONITOR.
Try checking in AECDWGSETUP to not scale objects from other drawings

Message 4 of 12
Anonymous
in reply to: AllenJessup

One thing that is interesting and what might break the statement "Civil 3D is not a unitless program. " is that if you save Unitless in C3D and re-open in C3D it doesn't reset the value.

Message 5 of 12
AllenJessup
in reply to: Anonymous

I think that means you can fool the program (or the programmers). I don't think it invalidates the statement. 

 

fm.png

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 6 of 12
Dexterel
in reply to: Dexterel

set to unitless

Message 7 of 12
Anonymous
in reply to: Dexterel


@Dexterel wrote:

set to unitless


It is set to unitless - same behavior. 

Message 8 of 12
Dexterel
in reply to: Anonymous

please upload an empty dwg crated in LT for me whit insunits set to 0.

Message 9 of 12
Anonymous
in reply to: Dexterel


@Dexterel wrote:

please upload an empty dwg crated in LT for me whit insunits set to 0.


Attached DWG with INSUNITS unitless.

Message 10 of 12
cwr-pae
in reply to: Anonymous

The change has to do with C3D setting units for C3D objects/functions when "converting" a vanilla ACAD dwg to C3d dwg on open as indicated by @AllenJessup's second post. If you always want C3D to use insunits =0 you can add the following statement to your ACADdoc.lsp:

(setvar "insunits" 1)

If you don't have an ACADdoc.lsp you can create one in the first support path for C3D using notepad or similar ASCII text editor.

What gets me is some drawings have the C3D units set to inches when I open them, not only is that option not normally available but it should be corrected by the conversion process.

Message 11 of 12
Anonymous
in reply to: cwr-pae


@cwr-pae wrote:

The change has to do with C3D setting units for C3D objects/functions when "converting" a vanilla ACAD dwg to C3d dwg on open as indicated by @AllenJessup's second post. If you always want C3D to use insunits =0 you can add the following statement to your ACADdoc.lsp:

(setvar "insunits" 1)

If you don't have an ACADdoc.lsp you can create one in the first support path for C3D using notepad or similar ASCII text editor.

What gets me is some drawings have the C3D units set to inches when I open them, not only is that option not normally available but it should be corrected by the conversion process.


Is there a way to keep vanilla AutoCAD INSUNITS value when opening? Force use some value seems to be more of the workaround locally.

We are working on a software that exports DWG/DXF and expects C3D to honor the settings we write to file.

Message 12 of 12
cwr-pae
in reply to: Anonymous

If the issue only occurs the first time you open a drawing in C3D, opening the file in C3D, setting the variable and saving once should do the trick. Thereafter C3D and vanilla should hold as set. You could set the variable in your template this way also.

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

Post to forums  

Rail Community


Autodesk Design & Make Report