Skip to main content
Question

How to combine attributes when there is nothing to join on


michael_m
Participant
Forum|alt.badge.img+1

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.

4 replies

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

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


michael_m
Participant
Forum|alt.badge.img+1
  • Author
  • Participant
  • May 12, 2016
erik_jan wrote:

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+17
  • Contributor
  • May 12, 2016
michael_m wrote:

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
Participant
Forum|alt.badge.img+1
  • Author
  • Participant
  • May 12, 2016
erik_jan wrote:

Even simpler than that:

That did it! Thanks @erik_jan


Reply


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