Automatically correcting CAD drawings
To successful run a CAD Import it is important that the drawings to be imported fulfill the proper requirements.
In order to check this, it is possible to run a CAD drawing verification. The result of this process is a log containing instructions to manually correct a drawing.
Manually correcting issues can be tedious and error prone. Sometimes it is also possible to automatically correct these issues while doing a verification.
Enabling auto-correction
1. On your CAD import definition, set the field Allow auto-correction? to Yes. The status of this field (Yes or No) will be logged.
Before the drawing is auto-corrected, it is first backed up.
| Note that a backup is only created if there is a need to correct something. Also, if a backup is created, it will overwrite backups that exist in the backup folder. |
The location of the drawing backup is specified in System settings > File locations > CAD Import auto-correction backups. Here, you can retrieve the original drawings immediately after the CAD verification process. The backup location will also be shown in the validation log.
While importing the CAD drawing, the verification process is triggered. This process is set up so that the correction and verification are handled in sequence. This allows for logging elements that could not be resolved automatically.
2. All elements that were corrected are logged (together with their AutoCAD handle ID).
Reducing drawing entities
To prevent blocking the CAD Import server in the Cloud, a maximum of entities for drawings has been implemented.
Importing CAD drawings has been restricted to a maximum of 300.000 entities.
To reduce the complexity and number of drawing entities, the Planon application can automatically reduce the number of entities by joining polylines. By doing so, multiple polylines will be reduced to one.
| This functionality is only available if Allow auto-correction? is set to Yes. |
Process
1. During verification, if the number of entities exceeds 15.000, the joining process is started.
2. If, after joining, the drawing entities exceeds 300.000 entities, the user will be prompted to manually reduce the entities in the drawing (error in the verification log).
If the number of entities in a drawing exceeds 15.000 but is less than 300.000, a warning message is given in the verification log.
To assist in identifying the problem areas, the log lists the layers and blocks and their corresponding number of entities.
Supporting blocks with a different scaling factor
If auto-correction is enabled, blocks with a different scaling factor will be corrected so that they will be properly displayed in CAD Integrator. This applies only as long as all block references to a block have the same scale factor.