Skip to main content
Solved

Update Block Attribute from CSV file

  • August 22, 2024
  • 2 replies
  • 46 views

carlasouza
Contributor
Forum|alt.badge.img+2

Hi everyone,

I need to update the block attributes with the csv data, but I don’t know what I’m doing wrong. Can someone check my script and with this issues? 

I’ll really appreciate it. 

Best answer by hkingsbury

Can’t really tell much from that screenshot unfortunately. It looks like you have an issue with your featuremerger as the inputs aren’t merging successfully.

Can you share you data and outline what you’re trying to achieve in more detail?

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

2 replies

hkingsbury
Celebrity
Forum|alt.badge.img+55
  • Celebrity
  • Best Answer
  • August 22, 2024

Can’t really tell much from that screenshot unfortunately. It looks like you have an issue with your featuremerger as the inputs aren’t merging successfully.

Can you share you data and outline what you’re trying to achieve in more detail?


carlasouza
Contributor
Forum|alt.badge.img+2
  • Author
  • Contributor
  • August 23, 2024

Hi,

 

First, I exposed autocad_attr_def_default and autocad_attr_def_prompt and changed them to a list. Then, I brought the CSV file exposed it and changed it to a list as well. I also added a counter to be able to merge. When I try to merge, it sometimes works, sometimes it doesn't, but it doesn't bother me because I can find another to merge. 
My big issue is in the final process. When I have to rewrite my list to autocad_attr_def_default and autocad_attr_def_prompt to overwrite the block attribute, it doesn't work even when I use the template. I'm using the list exploder and attribute manager to keep only autocad_attr_def_default and autocad_attr_def_prompt but still not working. I'm trying to figure out what I'm doing wrong. 

I really appreciate if you can help me.

Thanks so much,


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