Skip to main content
Question

Rotating all features by a single other feature's azimuth

  • April 4, 2017
  • 3 replies
  • 59 views

jsdbroughton
Contributor
Forum|alt.badge.img+4

I have a set of CAD drawings all published neatly squared to a page, but not located or rotated to true north. One of the drawings contains some referencing that I can extract and use to then apply to the rest of the feature sets.

Short of using pen and paper to write the results of an AzimuthCalculator value and then input that into a Rotator, how can i plug that output into the input?

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.

3 replies

erik_jan
Contributor
Forum|alt.badge.img+26
  • Contributor
  • April 4, 2017

I would create the value in a workspace and then use a WorkspaceRunner tansformer to call a second workspace, passing the value as a published parameter.

The second workspace takes the value and does the rotation on the required features.


gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • April 4, 2017

read the drawing with the reference, extract the references

read the other drawings with a advanced reader unconditionally merge the reference information from the reference drawing and apply using a rotator?


itay
Supporter
Forum|alt.badge.img+19
  • Supporter
  • April 4, 2017

You can do it in one ws by extracting the rotation value first and then use the feature reader to read the features to be rotated, just make sure the attributes accumulation setting is set correctly in the feature reader.

After that you can try to write the features with the extracted reference/rotation or apply it via the rotator.