Skip to main content

I am needing to test a DWG contains certain features for example a north point. If the drawing contains the layer that the north point is on I can use a range of functions to test if it exists i.e. tester, statisticsCalcultaor, etc

 

But what if the north point is missing and therefore there is nothing on that layer, how do you test for its non-existence?

 

Use a Creator transformer to create a dummy object.

Attach an AttributeCreator to create an attribute Layer with the value of the DWG layer for the North point.

Then use a FeatureMerger to merge dummy object (as supplier) to the data from the DWG.

If the supplier is unused, the North point layer does not exist.

Hope this helps.


Use a Creator transformer to create a dummy object.

Attach an AttributeCreator to create an attribute Layer with the value of the DWG layer for the North point.

Then use a FeatureMerger to merge dummy object (as supplier) to the data from the DWG.

If the supplier is unused, the North point layer does not exist.

Hope this helps.

Thanks @erik_jan that should work perfectly.


Reply