Is it possible to force a 1:1 drawing insertion scale?

Mike Gera
Posts: 181
Joined: Mon Sep 06, 2021 1:29 pm
Answers: 0
x 79
x 33

Is it possible to force a 1:1 drawing insertion scale?

Unread post by Mike Gera »

I have a dedicated Sheet Format that I use to create .dxf files of sheet metal parts' flat patterns.

The .dxf files are later used to laser-cut the part.

Is it possible to force the scale of all inserted drawing views to 1:1?

Is that a setting somewhere?

Thanks.
SW 2022 SP 5.0
Windows 11
User avatar
AlexLachance
Posts: 1994
Joined: Thu Mar 11, 2021 8:14 am
Answers: 17
Location: Quebec
x 2157
x 1847

Re: Is it possible to force a 1:1 drawing insertion scale?

Unread post by AlexLachance »

I'm sure it is through programming because our DXF's are generated that way.


We use Customtools and it has a sorta DXF generator in it.
Mike Gera
Posts: 181
Joined: Mon Sep 06, 2021 1:29 pm
Answers: 0
x 79
x 33

Re: Is it possible to force a 1:1 drawing insertion scale?

Unread post by Mike Gera »

AlexLachance wrote: Wed Nov 01, 2023 3:04 pm I'm sure it is through programming because our DXF's are generated that way.


We use Customtools and it has a sorta DXF generator in it.
Hi Alex,

By "programming", do you mean API?

I am not familiar with Customtools.

Is that an SW add-in?

Thanks.
SW 2022 SP 5.0
Windows 11
User avatar
DanPihlaja
Posts: 747
Joined: Thu Mar 11, 2021 9:33 am
Answers: 24
Location: Traverse City, MI
x 738
x 893

Re: Is it possible to force a 1:1 drawing insertion scale?

Unread post by DanPihlaja »

Mike Gera wrote: Wed Nov 01, 2023 2:40 pm I have a dedicated Sheet Format that I use to create .dxf files of sheet metal parts' flat patterns.

The .dxf files are later used to laser-cut the part.

Is it possible to force the scale of all inserted drawing views to 1:1?

Is that a setting somewhere?

Thanks.
If you uncheck the following:
image.png
Then, drawing views should be set to sheet scale automatically. And if your template is set to 1:1, then it should do what you want.
-Dan Pihlaja
Solidworks 2022 SP4

2 Corinthians 13:14
Mike Gera
Posts: 181
Joined: Mon Sep 06, 2021 1:29 pm
Answers: 0
x 79
x 33

Re: Is it possible to force a 1:1 drawing insertion scale?

Unread post by Mike Gera »

DanPihlaja wrote: Wed Nov 01, 2023 3:37 pm If you uncheck the following:
image.png

Then, drawing views should be set to sheet scale automatically. And if your template is set to 1:1, then it should do what you want.
Thanks.

I was hoping there would exist a Document Property. If I change it globally, I'll lose a very useful, efficiency-enhancing feature.
SW 2022 SP 5.0
Windows 11
User avatar
AlexLachance
Posts: 1994
Joined: Thu Mar 11, 2021 8:14 am
Answers: 17
Location: Quebec
x 2157
x 1847

Re: Is it possible to force a 1:1 drawing insertion scale?

Unread post by AlexLachance »

Mike Gera wrote: Wed Nov 01, 2023 3:07 pm Hi Alex,

By "programming", do you mean API?

I am not familiar with Customtools.

Is that an SW add-in?

Thanks.
Yeah through programming. CustomTools is a 3rd party tool, but I'm sure someone has or could develop something fairly simple that works the same.

It creates a page using a designed template
It inserts the unfolded view inside of it and hides bend lines/notes
It scales it 1:1 and places it inside the page.


The video is old but the principle is the same:

User avatar
mp3-250
Posts: 540
Joined: Tue Sep 28, 2021 4:09 am
Answers: 18
Location: Japan
x 601
x 282

Re: Is it possible to force a 1:1 drawing insertion scale?

Unread post by mp3-250 »

irrc dxf export should have the 1:1 scale option independent from the drawing sheet settings somewhere
Mike Gera
Posts: 181
Joined: Mon Sep 06, 2021 1:29 pm
Answers: 0
x 79
x 33

Re: Is it possible to force a 1:1 drawing insertion scale?

Unread post by Mike Gera »

mp3-250 wrote: Wed Nov 01, 2023 6:09 pm irrc dxf export should have the 1:1 scale option independent from the drawing sheet settings somewhere
On an .SLDDRW, Save As -> .DXF will always output 1:1?
SW 2022 SP 5.0
Windows 11
User avatar
mp3-250
Posts: 540
Joined: Tue Sep 28, 2021 4:09 am
Answers: 18
Location: Japan
x 601
x 282

Re: Is it possible to force a 1:1 drawing insertion scale?

Unread post by mp3-250 »

@Mike Gera

not always.
when you select the file extension in the saveas dialog the "option" button shows just below.

inside the options you can activate the 1:1 output for dxf.
we do not need it so I have not tested if it works.
Mike Gera
Posts: 181
Joined: Mon Sep 06, 2021 1:29 pm
Answers: 0
x 79
x 33

Re: Is it possible to force a 1:1 drawing insertion scale?

Unread post by Mike Gera »

Ah, now I see that from the .SLDPRT:

File -> Save As -> .dxf

is a more direct and efficient workflow than doing a .SLDDRW first. And 1:1 is default / implied.

I would like to make a macro / API do to this in one click. Should that be possible?

Thanks.
SW 2022 SP 5.0
Windows 11
User avatar
Glenn Schroeder
Posts: 1444
Joined: Mon Mar 08, 2021 11:43 am
Answers: 22
Location: southeast Texas
x 1629
x 2044

Re: Is it possible to force a 1:1 drawing insertion scale?

Unread post by Glenn Schroeder »

Mike Gera wrote: Wed Nov 01, 2023 4:00 pm Thanks.

I was hoping there would exist a Document Property. If I change it globally, I'll lose a very useful, efficiency-enhancing feature.
I could make you a list of the options that I think are in the wrong place, but we don't have that much time.
"On the days when I keep my gratitude higher than my expectations, well, I have really good days."

Ray Wylie Hubbard in his song "Mother Blues"
Mike Gera
Posts: 181
Joined: Mon Sep 06, 2021 1:29 pm
Answers: 0
x 79
x 33

Re: Is it possible to force a 1:1 drawing insertion scale?

Unread post by Mike Gera »

Glenn Schroeder wrote: Thu Nov 02, 2023 8:50 am I could make you a list of the options that I think are in the wrong place, but we don't have that much time.
I hear you.
SW 2022 SP 5.0
Windows 11
User avatar
Frederick_Law
Posts: 1822
Joined: Mon Mar 08, 2021 1:09 pm
Answers: 8
Location: Toronto
x 1527
x 1374

Re: Is it possible to force a 1:1 drawing insertion scale?

Unread post by Frederick_Law »

SW can export DXF 1:1 all the time. Regardless what scale the view is.
Mike Gera
Posts: 181
Joined: Mon Sep 06, 2021 1:29 pm
Answers: 0
x 79
x 33

Re: Is it possible to force a 1:1 drawing insertion scale?

Unread post by Mike Gera »

Frederick_Law wrote: Thu Nov 02, 2023 10:11 am SW can export DXF 1:1 all the time. Regardless what scale the view is.
Yes. And having it export to anything other than 1:1 requires a deliberate effort, which is (surprisingly) the way it should be.
SW 2022 SP 5.0
Windows 11
User avatar
Frederick_Law
Posts: 1822
Joined: Mon Mar 08, 2021 1:09 pm
Answers: 8
Location: Toronto
x 1527
x 1374

Re: Is it possible to force a 1:1 drawing insertion scale?

Unread post by Frederick_Law »

Just need some training and setup defaults which should be default when SW install.
Mike Gera
Posts: 181
Joined: Mon Sep 06, 2021 1:29 pm
Answers: 0
x 79
x 33

Re: Is it possible to force a 1:1 drawing insertion scale?

Unread post by Mike Gera »

Frederick_Law wrote: Thu Nov 02, 2023 10:34 am Just need some training and setup defaults which should be default when SW install.
Training? Don't need no stinking training. Need CADForum. 8-)
SW 2022 SP 5.0
Windows 11
User avatar
Frederick_Law
Posts: 1822
Joined: Mon Mar 08, 2021 1:09 pm
Answers: 8
Location: Toronto
x 1527
x 1374

Re: Is it possible to force a 1:1 drawing insertion scale?

Unread post by Frederick_Law »

Mike Gera wrote: Thu Nov 02, 2023 10:45 am Training? Don't need no stinking training. Need CADForum. 8-)
Forum is where most of the training is UU
User avatar
Glenn Schroeder
Posts: 1444
Joined: Mon Mar 08, 2021 11:43 am
Answers: 22
Location: southeast Texas
x 1629
x 2044

Re: Is it possible to force a 1:1 drawing insertion scale?

Unread post by Glenn Schroeder »

Frederick_Law wrote: Thu Nov 02, 2023 10:59 am Forum is where most of the training is UU
There's also a lot to be said for just diving in and finding out what works.
"On the days when I keep my gratitude higher than my expectations, well, I have really good days."

Ray Wylie Hubbard in his song "Mother Blues"
DLZ_SWX_User
Posts: 26
Joined: Mon Dec 20, 2021 1:40 pm
Answers: 0
Location: Michigan, USA
x 112
x 11

Re: Is it possible to force a 1:1 drawing insertion scale?

Unread post by DLZ_SWX_User »

Mike Gera wrote: Thu Nov 02, 2023 8:34 am Ah, now I see that from the .SLDPRT:

File -> Save As -> .dxf

is a more direct and efficient workflow than doing a .SLDDRW first. And 1:1 is default / implied.

I would like to make a macro / API do to this in one click. Should that be possible?

Thanks.
Hello Mike,

I don't know if this is what you are looking for or not but we have been using on one that @Jaylin Hochstetler modified from a macro that I believe someone else created

Here is a link:
Jaylin Hochstetler wrote: Wed Mar 17, 2021 8:01 am Here's a version of the Multi-body DXF macro, that Mike posted, on steroids! It allows you to either browse for the "DXFs" folder location or enter the address of the location instead of putting it in the folder the part is located in.
download/file.php?id=1387

Edited to add a link to the thread where this is located.

viewtopic.php?t=74
Mike Gera
Posts: 181
Joined: Mon Sep 06, 2021 1:29 pm
Answers: 0
x 79
x 33

Re: Is it possible to force a 1:1 drawing insertion scale?

Unread post by Mike Gera »

DLZ_SWX_User wrote: Thu Nov 02, 2023 12:22 pm Hello Mike,

I don't know if this is what you are looking for or not but we have been using on that @Jaylin Hochstetler modified from a macro that I believe someone else created

Here is a link:

download/file.php?id=1387

Edited to add a link to the thread where this is located.

viewtopic.php?t=74
Thanks!
SW 2022 SP 5.0
Windows 11
Mike Gera
Posts: 181
Joined: Mon Sep 06, 2021 1:29 pm
Answers: 0
x 79
x 33

Re: Is it possible to force a 1:1 drawing insertion scale?

Unread post by Mike Gera »

I realize that this is likely AutoCAD-related and not SolidWorks-related, but is there a way to set a default .dxf template?

Thanks.
SW 2022 SP 5.0
Windows 11
User avatar
Glenn Schroeder
Posts: 1444
Joined: Mon Mar 08, 2021 11:43 am
Answers: 22
Location: southeast Texas
x 1629
x 2044

Re: Is it possible to force a 1:1 drawing insertion scale?

Unread post by Glenn Schroeder »

Mike Gera wrote: Tue Dec 19, 2023 11:37 am I realize that this is likely AutoCAD-related and not SolidWorks-related, but is there a way to set a default .dxf template?

Thanks.
I'm not aware of a way to set a default, but when you choose to save as .dxf, you will get an Options button near the bottom left corner of the "Save as" dialog box. The settings you choose there will be "sticky."

I hope this helps, but I'm not sure it does.
"On the days when I keep my gratitude higher than my expectations, well, I have really good days."

Ray Wylie Hubbard in his song "Mother Blues"
Mike Gera
Posts: 181
Joined: Mon Sep 06, 2021 1:29 pm
Answers: 0
x 79
x 33

Re: Is it possible to force a 1:1 drawing insertion scale?

Unread post by Mike Gera »

Glenn Schroeder wrote: Tue Dec 19, 2023 11:45 am I'm not aware of a way to set a default, but when you choose to save as .dxf, you will get an Options button near the bottom left corner of the "Save as" dialog box. The settings you choose there will be "sticky."

I hope this helps, but I'm not sure it does.
Hi Glenn.

Yes, I did see those settings, thanks.

I want to change the default .dxg DIMSTYLE (AutoCAD setting).
SW 2022 SP 5.0
Windows 11
User avatar
AlexLachance
Posts: 1994
Joined: Thu Mar 11, 2021 8:14 am
Answers: 17
Location: Quebec
x 2157
x 1847

Re: Is it possible to force a 1:1 drawing insertion scale?

Unread post by AlexLachance »

Have you given a look at this?
image.png
Mike Gera wrote: Tue Dec 19, 2023 11:50 am Hi Glenn.

Yes, I did see those settings, thanks.

I want to change the default .dxg DIMSTYLE (AutoCAD setting).

I believe this would be part of the SW2DXF mapfile.


As usual, sorry for the frenchitude :lol:
Mike Gera
Posts: 181
Joined: Mon Sep 06, 2021 1:29 pm
Answers: 0
x 79
x 33

Re: Is it possible to force a 1:1 drawing insertion scale?

Unread post by Mike Gera »

AlexLachance wrote: Tue Dec 19, 2023 11:56 am Have you given a look at this?
image.png




I believe this would be part of the SW2DXF mapfile.


As usual, sorry for the frenchitude :lol:
Thanks, Alex.

How is a map file generated?

Are you sure the map file isn't limited to layers, colors, and line types?

ETA: I think what I want to do is going to be handled on the AutoCAD side...if it can be done.
SW 2022 SP 5.0
Windows 11
User avatar
AlexLachance
Posts: 1994
Joined: Thu Mar 11, 2021 8:14 am
Answers: 17
Location: Quebec
x 2157
x 1847

Re: Is it possible to force a 1:1 drawing insertion scale?

Unread post by AlexLachance »

Mike Gera wrote: Tue Dec 19, 2023 12:19 pm Thanks, Alex.

How is a map file generated?

Are you sure the map file isn't limited to layers, colors, and line types?

ETA: I think what I want to do is going to be handled on the AutoCAD side...if it can be done.
It's a rather simple text file, but now that you mention it, it relates to drawing entities such as layers and not dimensions. I haven't really looked into exporting dimensions in DWG/DXF but I don't think they convert.
Post Reply