ThinkGeo.com    |     Documentation    |     Premium Support

Load specific layouts from CAD file

In our application it is a requirement that the user is able to select which of the layouts inside a CAD file that is shown. As you probably are aware of, a CAD file can contain several layouts each containing separate information. For example, a CAD file for a building could contain a layout for each floor of the building.

We are using CadFeatureLayer to show CAD files and currently it looks like it always displays the first layout in the file.

How do we access and control the visibility of the inner layouts of the CAD file?

Thanks
Jimmi

Hi Jimmi,

We don’t have the “layout” when handle CAD files, we handle it as a database, so all the features are queried and shown on map based on it’s relative coordinate.

So I think if you pan the map you can see other layout shapes.

If possible, could you please upload a test CAD file which contains multiply layouts and we can see what’s the effect when our map render that.

Regards,

Don

Hi Don,

I have attached a sample CAD file (home_floor_plan.zip) that contains several layouts.

If you open the file in DWG TrueView 2017 you can see that the layouts of the file are organized in tabs at the button of the application (TrueView - Model layout.png and TrueView - 1F detail plan layout.png).

Finally, I have attached an image showing how ThinkGeo is rendering the CAD file (ThinkGeo.png). As mentioned it seems that ThinkGeo shows the first layout in the DWG file.

In our product it is a requirement that the user can select which layout in the CAD file to show. In the example he probably want to see only the “1F detail plan” layout.

How do we accomplish this using ThinkGeo?

Thanks
Jimmi

home_floor_plan.zip (2.1 MB)

Hi Jimmi,

We hadn’t met this situation before, like I said before, we cannot handle the CAD file just like CAD, so for us we don’t have the “layout” we only knows table and features.

If possible, please sent us a test CAD file, our developer can test to render it and see whether we can implement “layout” for it.

Regards,

Don

Hi Don,

My previous replay contains a sample CAD file with multiple layouts. For your convenience I have attached it again to this reply in the zipped file home_floor_plan.zip.

home_floor_plan.zip (2.1 MB)

Hi Jimmi,

Thanks for your upload, our developer will look into this issue and related CAD API.

Any update I will let you know here.

Regards,

Don

Hi Jimmi,

As so far, our developer make sure it’s a new feature for map suite CAD feature layer, we don’t have a plan to support that before, if you think it’s really important, you can vote for it here: http://helpdesk.thinkgeo.com/EnhancementTracker/.

Our developer will did plan based on the vote result when enhancement our products.

Thanks,

Hi Don,

Thanks for the feedback.

/Jimmi

Hi Jimmi,

Any question please let us know.

Regards,

Don