I only have 42 line patterns left in the project. Now I am just going to re-run my definition and pull off a Watch component from All Elements of Type node to see what I am left with after the deletion process: Here’s what you will get when you run it: Here’s code for the Python node that will do the Deleting: Since Dynamo currently doesn’t have a delete elements node (and rightfully so, its a bit scary to throw one in for every beginner user) i created my own. If the styles still arent deleting, follow our steps to clean your drawing. Type PRG in the Command line and press Enter. If possible, remove any Layout tabs that are expendable and that may have contined the Text Style. Now let’s get them deleted from the model. If a Text Style wont delete, scan your drawing and Layout sheets for text in that style, removing any instances. Count reveals that our filtered list contains “only” 8543 elements from the original 8585. You can see that using List.FilterByBoolMask will return only desired elements. We can next use that to filter element list like so: String.Contains node will return a boolean True or False if word IMPORT is contained in a line pattern name. We are looking for any line pattern that has IMPORT in its name. Specify the properties for the display of text notes. If desired, click Rename to rename the type, or click Duplicate to create a new text type. In the Type Properties dialog, select the text properties you want to work with from the Type list. Next step is to filter line patterns that we think came from AutoCAD. By: Use the Type Properties dialog to specify text note styles. This selects all instances of that type of text in the project. Once you have all of them you can see their name with Element.Name node. The easiest way Ive found is to make some text someplace (literally anywhere) using that text type you want to delete, then do 'select all in project' and include legends etc. yes I can see you from a mile away!įirst let’s get all Line Patterns using Element Types and All Elements of Type. Here’s how to get rid of ones that are named in a way that my gut feeling tells me come from AutoCAD – IMPORT – Xref – …. Yes, this is annoying to say the least, especially if you have roughly 8585 of those! This is insane! Even though, someone will always import some CAD in and with it comes the trash: LINE PATTERNS: So you drill your team on importance of cleaning the CAD files of all layers and purging it nicely and of course NEVER IMPORT, if anything link that beast in. You want to do everything you can to keep that CAD trash out of your Revit model. This is how it is with AutoCAD – Revit situation. You are able to delete and modify wall types from the project browser but the question is where do you delete text types. I realized that Text type is a system family but does not appear in the project browser like other system families. If I had to compare it to something it would be that awful roommate you had in college that just would never keep the place clean. How do I delete Text Types that I no longer need. If you are managing a Revit project chances are that you have to deal with some consultants working in AutoCAD platform.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |