Skip to main content
Solved

Non-Existence

  • April 5, 2020
  • 2 replies
  • 5 views

deanhowell
Influencer
Forum|alt.badge.img+24

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.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

erik_jan
Contributor
Forum|alt.badge.img+22
  • Contributor
  • 2179 replies
  • 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+24
  • Author
  • Influencer
  • 315 replies
  • April 6, 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.

Thanks @erik_jan that should work perfectly.