Hi @enricoan
It is possible to set thickness from SHP file through MAP functionality. I call it "old MAP functionality", before all those FDO things.
The workflow is as follows:
1. Insert with the MapImport command your SHP file. After you select your SHP file you have to read in thickness data into object data of imported elements (polylines). On the dialog which open pick on Data (in the grid), select "create object data" on the next dialog and with button "Select fields" confirm your data (you can switch off or on some of them). After that operation, you will have polylines with object data thickness inside. But, in that very moment polylines will not have any thickness (it will be 0).
2. Save the drawing and open new one
3. With the command "AdeDrawings" attach previously saved drawing for query. If it is necessary create new drive aliases (it comes only with C:). There is icon with which you can create new aliases for other disks
4. With the command "AdeQuery" you have to query attached drawing with the option of alter properties.
- On the dialog first set location criteria to option All.
- For Query mode select Draw.
- For Options select Alter Properties
- From available properties select Thickness
- Press button Expression and select Object data and appropriate data which has thickness value
- When return to previous dialog press Add button for defined expression. Expression should appear in list on top of dialog
- return to first dialog and press button Execute Query
After that you should have polylines with appropriate thickness.
I suppose that this functionality is known only to selected people with 30+ years of experience with Autodesk (which I have 😊).
Hopefully, you will succeed with described workflow
Regards,
Drazen
If this is solution for your problem please press Accept Solution