This is the start of the ArcGIS for AutoCAD Group.
Thanks, Don, for creating this group!
Hello,
Glad I recently found this forum. I am having difficulty with the Find and Replace command in ARCGIS FOR AUTOCAD 350 working with C3D 2013 not functioning within a reasonable time or at all. I created several large feature classes defined solely by geometry type and specific feature classes defined by geometry and specific layers. Since the attribute fields are the same for each local feature class, I typically update the large feature classes (defined by the * value for the layer property) and the specific feature classes are updated automatically. It's a big time saver. My question applies to the Find and Replace tool when trying to edit attributes in a large feature class (for example, my TEMP_LN feature class has over 77,000 entities). I've have let the command run for 15 minutes or more and nothing happens. Is this a common issue? Also, can the Find and Replace tool, replace lower case values with identical upper case values?
Thank you,
Matt
I am not familiar with any particular issue with the FIND and Replace Tool in the table viewer. Perhaps you could send me a copy of the drawing or I could create one that is similar. What are the TYPES of fields you are attempting to update and what values are you typically replacing? Might also be easy to whip up a little AutoLISP to be more targeted. I like your clever use of the Super-Set of feature classes I do that too sometimes.
Unfortunately, I can not provide a copy of the drawing. Below I've attached the local feature class properties. I am attempting to standardize the text attribute fields by a) replacing lower case entries with upper case, b) replacing text which includes numerical values to text only and c) adding folder paths to DRAWING_IDs without.
In order to improve the process, I have also created a feature dataset (in an enterprise geodatabase) with the local feature class CAD data (with domain constraints) and published the feature classes to a feature service. Unfortunately, not all feature classes will extract in ARCGIS FOR AUTOCAD. I am assuming this may be due to CAD entities such as ellipses and splines. All feature classes can be utilized in ARCMAP, though.
Thanks for replying so promptly,
As far as FIND and REPLACE. Yes it can take that long.
Now for Ellipses and Splines those should be working. If you suspect an issue with a geometry make sure it is not a Civil 3D custom entity. Ellipses and splines should be fine.
I would also suggest you take a look at the ESRI_CALCULATEFIELD command in the ArcGIS for AutoCAD BONUS Tools found here; http://www.arcgis.com/home/item.html?id=103f4d42de804f4ab42ff498026d9ddc
The bonus tool, ESRI_CALCULATEFIELD command can accept AutoLISP functions to perform interesting field calculations. Square brackets [ ] allow you to use the field value within the expression that gets applied to each of the selected features. There is documentation for the bonus tools in the .zip download. Whatever the AutoLISP expression return as its value will be used as the value for the chosen field for that feature. The AutoLISP can be simple or really complex.
I was testing ESRI_CALCULATEFIELD on 90,000 features and a simple expression takes about 20 minutes to process on my machine (about 60 features per second)... 70000 features is a lot of iterations even for sub-second transactions.
I had to abandon my test using FIND and REPLACE in the table viewer. But if you think about it it is checking all of the fields in those 70000 features and that could take many times as long...
Using the Bonus tool: ESRI_CALCULATEFIELD This example would be a way to force all the values in the "product_manager" text field to uppercase. Enter this as the "expression". It will be evaluated for each feature:
(strcase [PROJECT_MANAGER])
This example expression would append "C:/myPath/" to the current value of each feature for the data_source field:
(strcat "C:/mypath/" [DATA_SOURCE])
There is also a documented BONUS AutoLISP function version
(esri_featureclass_calculatefield FNAME SUBTYPE EXPRESSION )
This would allow you to automate multiple field calculations and launch it on your 70000 features before you go home.
I am new to using this, I am trying to use feature services and edit in AutoCAD. Some layers work fine, others give this error "Errors encountered in adding extracted features to drawing". I have public test services that you can look at -
http://prdgis.bartwest.com/arcgis/services
Use the services in the Testing folder.
Thanks!
Robert Meier
Thanks for providing the test service, that is extremely helpful. looking into it...
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.