Hi@mmendezJLGA9
Of course there's a streamlined method, it's called MAPIMPORT. And the command (or procedure since it's several clicks and not just one) already exists. That procedure takes 'data' from the KMZ, assuming it's real data to begin with and not something else.
If you do it right, the KMZ's data is harvested (in your case the data it's kml_name) and the data is inserted into your block. Buuut......to insert it correctly you need to disclose whether your block has an attribute.....so the attribute's TAG (or the name of the attribute) can be populated by the correct KMZ data. In other words, HOW (or what settings do you need when running MAPIMPORT) for a specific block to get populated with THIS attribute and not THAT attribute.
The last thing you want is for your KMZ data to be inserted, but not inserted into the right block--blocks in NORTH locations might get populated by data that should be inserted to SOUTH blocks...and blocks in the WEST are being populated by data that belongs to blocks in the EAST.
The MapImport command can do all that and do it accurately with only a few clicks. Explaining HOW-TO is simply hard to explain in a Forum unless you upload a sample of the real-deal data and the actual block you plan to use.
You can even enhance your MapImport by limiting the location the imported data. If you have KMZ data covering 3-square miles, you may only want to limit the import to only 1-square mile and ignore the rest. You can define your 'area' by drawing a plain-vanilla rectangle or square.
You may also segregate your imported blocks by allocating them across several layers, e.g. you have 100 KMZ points and your data indicates 50 are existing utility poles, 40 are proposed utility poles, and 10 are poles to be removed/demolished. Your MapImport can insert and place your blocks on 3 separate layers: existing, proposed, and demo using the existing data.
This single command is flexible, it can be used with other data-rich formats too, such as SDF and shapefile. It can easily be used in four different ways so you wouldn't need four separate lisp routines (SMH!). With high level creativity you could add another dozen ways and with ultra-high-mega-super-duper creatively 2 more dozen on top of that.
Can you share some data?
Chicagolooper
