Custom Scale per sheet for ACAD export

Custom Scale per sheet for ACAD export

dseelbach
Participant Participant
1,044 Views
8 Replies
Message 1 of 9

Custom Scale per sheet for ACAD export

dseelbach
Participant
Participant

Hi,

 

I'm trying to export my Inventor DWG or Inventor IDW to DWG using a mix of scales.

 

Sheet 1, 1 view, 5/16"=1'-0"

Sheet 2, 1 base view, 1 section view, 3/16"=1'-0"

Sheet 3, 6 section views moved from sheet 2, scale on all views set to 1/4"=1'-0"

 

Here's the rub,

 

I have dimensions with text on third sheet which create mtext like variable once exported which have to be manually cleared one at a time.  Over the course of the next 400 drawing packs with 6 drawings each that contain SEVERAL text boxes, I'm looking at weeks of double clicking to clear the formatting within ACAD. 

 

So, is there any way to manually set the scale on sheet 3 scale to 1/4"=1'0" so that when I export to model space in ACAD (Customer requirements) it will export without me having to scale each drawing... thus having to open each MTEXT and clearing formats.

 

Thank you in advance,

 

Doug Seelbach

 

Inventor 2017SP2

Windows 7, 64bit

0 Likes
1,045 Views
8 Replies
Replies (8)
Message 2 of 9

basnederveen
Advocate
Advocate

You can set each sheet size indivually, but not the export scale. Taking base view scale will scale each size to the first base view placed on the sheet, you could manipulate to get your result.

 

How do these 400 drawing packs look? Is it the same scales per drawing/drawing pack? Does it vary?

 

You can also write an ACad script to open, check and rescale each drawing. 

0 Likes
Message 3 of 9

dseelbach
Participant
Participant

Same scales for every drawing.  

 

"You can also write an ACad script to open, check and rescale each drawing."

 

I'm an ACAD novice, can you explain?  I would imagine if I can have ACAD open them up as 1 to 1, then that would work fine.  AND THIS EXCITES ME! 

0 Likes
Message 4 of 9

basnederveen
Advocate
Advocate

I'm also not that good in Acad scripting but this sounds okay, I had to make some script a while back which also included opening files and rescaling sheets so I can help out. Also there's an autocad customization forum. 

 

https://knowledge.autodesk.com/support/autocad/troubleshooting/caas/downloads/content/download-the-m...

 

You can download the VBA Editor for Autocad from the link above, it was taken out a while back. The script should do the following steps:

 

- Open drawing

- Select all in model space

- Measure the bounding box of the selection, assuming you are exporting with borders

- Calculate scale

- Scale the selection 

- Save the drawing 

 

I did this in millimeters, for me the desired scale was 1:10, I measured the distance from 0,0 to the minimum point of the selection (desired was 10mm, I needed to get the drawings in the same scale), and rescale using that.

 

When I am back at work I can post some pieces of the code.

0 Likes
Message 5 of 9

dseelbach
Participant
Participant

Thank you very much, I'm going to give this a shot. 

0 Likes
Message 6 of 9

basnederveen
Advocate
Advocate

Okay, goodluck. Let me know if you need any help.

0 Likes
Message 7 of 9

dseelbach
Participant
Participant

I took a glance but it is way too heavy for my extremely beginner butt.  

 

I made a discovery after jacking around with all my export options.  The exported ACAD files are scaled for the first view per sheet set.  For example, sheet two and three are exported to the scale of sheet 1 and if I change the first view placed on sheet one, the rest change as well......?  That's weird. 

0 Likes
Message 8 of 9

basnederveen
Advocate
Advocate

What export option are you using

0 Likes
Message 9 of 9

dseelbach
Participant
Participant

Apologies for the very long response time. 

 

I'm still on the same issue, but i'm definitely getting better with some ilogic.  Maybe I need a bit of code to export each sheet with the first view on each sheet setting the geometry scale upon export?

 

Inventor 2019

 

From Inventor .dwg to ACAD .dwg

DWG File Export Options

 

File Version -

     AutoCAD 2004 Drawing

Post Process - 

     Pack and Go = No

     Customize DWG/DXF = No

 

Source Data

     All Sheets = yes

 

Export Options

     Base View Scale - Model Space

     Model Geometry Only = No

     Best Visual Fidelity = No

     Closest AutoCAD Mapping = Yes

 

Mapping Options

     General 

               Autocad Dimension Options          

                   DIMASSOC = 1

              Colors

                    Use AutoCAD color indices for entities and layers = No

               Drawing Symbol Options

                    Convert Drawing Symbols to Blocks = Yes

0 Likes