Skip to main content
Solved

Non-Existence


deanhowell
Influencer
Forum|alt.badge.img+23

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?

 

Best answer by erik_jan

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.

View original
Did this help you find an answer to your question?

2 replies

erik_jan
Contributor
Forum|alt.badge.img+17
  • Contributor
  • Best Answer
  • April 5, 2020

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.


deanhowell
Influencer
Forum|alt.badge.img+23
  • Author
  • Influencer
  • April 6, 2020
erik_jan wrote:

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.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings