Skip to main content
Question

How to combine attributes when there is nothing to join on

  • May 12, 2016
  • 4 replies
  • 24 views

michael_m
Contributor
Forum|alt.badge.img+8

Hello,

I am working to pull information from autocad block attributes and need help overcoming a problem. Currently, each block's attributes have their own record in the table I am writing them to (they are organized this way straight out of the DWG reader). Looks like this:

Attribute1Attribute2Attribute3<Null>AB<Null>CDE<Null><Null>

What I want to do is combine the records somehow so the table looks like this:

Attribute1Attribute2Attribute3EAB

E

CD

Any ideas how I can do this? I have tried FeatureMerger and InlineQuerier but have had no luck because there is nothing to join on.

Thanks,

Mike

*EDIT*

Initially in the DWG reader I was Grouping Entities by Attribute Schema. I just tried grouping them by Layer and got the same results.

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.

4 replies

erik_jan
Contributor
Forum|alt.badge.img+26
  • Contributor
  • May 12, 2016

Have you tried the FeatureMerger, not based on attributes but on actual values (1 = 1)?


michael_m
Contributor
Forum|alt.badge.img+8
  • Author
  • Contributor
  • May 12, 2016

Have you tried the FeatureMerger, not based on attributes but on actual values (1 = 1)?

I added a common attribute to each set with attribute creators and was then able to use FeatureMerger on them to do what I wanted.

Is that what you had in mind?


erik_jan
Contributor
Forum|alt.badge.img+26
  • Contributor
  • May 12, 2016

I added a common attribute to each set with attribute creators and was then able to use FeatureMerger on them to do what I wanted.

Is that what you had in mind?

Even simpler than that:


michael_m
Contributor
Forum|alt.badge.img+8
  • Author
  • Contributor
  • May 12, 2016

Even simpler than that:

That did it! Thanks @erik_jan