We have dedicated a lot of investigation time and effort to making improvements to importing DWG/DXF files. Some of the enhancements are more significant than others, but overall, the sum of all AutoCAD improvements should resolve many issues experienced when importing DWG/DXF files. wysiwyg R40 also supports DWG/DXF files from AutoCAD 2018.
We have identified a few areas of the DWG file import process that could be optimized. As a result, memory requirements during the importing of DWG files are much lower than before, and this should result in better-performing files (and less crashes due to insufficient memory).
Text and MText within a block are now imported as separate text labels. Previously, Text and MText within a block were ignored.
Attribute text is replaced correctly
Previously, “Attributes” needed to be stripped out of the DWG file before importing it because only their variables, not their values, were being imported. This is no longer necessary, since attribute values are now converted to wysiwyg’s “Text Labels”. In other words, the same text as it appears when the DWG file is opened in AutoCAD, now appears once the import is complete.
Special logic relating to Layer 0 in nested blocks, imported as “Library Items” is now respected in wysiwyg. This relates to ignoring some objects within a block whose visibility in AutoCAD is controlled by “Frozen” or off layers. For some blocks, this greatly improves accuracy of what geometry is and visibility in AutoCAD vs. what is included in the “Library Item” in wysiwyg.
A new column has been added to the layer step in the wizard, showing the state of the layer in the DXF/DWG file. Frozen layers are deselected for import by default. Off layers are selected but once imported, they will be set to “Not Visible” in wysiwyg.
Note: wysiwyg’s library items and layers work in a different way from AutoCAD blocks and layers. As a result, some objects will not be visible until their layers are turned on.
A new “Advanced Import Options” dialog appears during importing and merging for block conversions. This dialog allows you to define the manner in which blocks are converted into library items (based on later choosing “Add to Library” in the “Block” step of the wizard).
Number of segments: This does not only affect library items, but also “Set Pieces” created as a result of importing some 3D objects that can’t be converted directly to 3D solids (cone, sphere, or cylinder) in wysiwyg. For example, a frustum cone (a cone with its peak cut off) is converted to a “Set Piece”. Previously, the number of segments was 40, which resulted in overly complex meshes and much higher memory consumption. 8 works very well for truss blocks but 20 may be more suitable for some 3D objects.
Ignore layers: Previously, all objects within a block were integrated into the library item in wysiwyg, which could increase the complexity and also cause the Library Item to have a lot of geometry that would be hidden in AutoCAD.
Objects on Frozen layers are never visible and they can now be skipped. With some justifiable exceptions, objects on layers that are not currently visible (but are also not frozen) can also be excluded and not integrated into the library item. This way, the geometry of the library item will closely match what is seen in AutoCAD while also reducing library item complexity (resulting in improved performance, and less risk of memory-related crashes).
Extract block text as Text Labels: Select this option to convert text blocks into text labels. Remove empty library items: Selecting this option will exclude all the empty library items from the library.
Pre-Processing functionality added to Audit and Fix Errors: In the “Advanced Import Options” dialog, an advanced option at the beginning of the import process to audit and fix files with errors. If you’ve had a problem importing the file, you can click the “Audit” button and fix any identified errors, after which import will proceed and hopefully succeed. After this BETA, auditing and fixing errors will likely occur for every import and the option will be removed improved accuracy for position and orientation of some cylinders, cones, spheres, and risers.
All Paperspace blocks should now be ignored by wysiwyg under all circumstances. As such, you no longer need to remove “Paperspace” layouts from the DWG file before importing it.
Planar surfaces, helices, and revolved surfaces are now imported rather than being ignored. M-Leader custom arrowhead sizes imported.
The import summary contains a few extra details about the complexity of library item meshes: Additionally, an ImportSummary.log file is created in “Documents\WYSIWYG Files” that keeps track of the summary details. These can be used to compare imports of the same file with different settings.
A new version of the CAD importing guide is available, which includes all the updates listed above. To access this updated guide, please visit: http://cast-soft.com/cad-importing-guide