additions for Object Data

additions for Object Data

АлексЮстасу
Advisor Advisor
18,375 Views
118 Replies
Message 1 of 119

additions for Object Data

АлексЮстасу
Advisor
Advisor

As a task manager, I created for myself such additions for Object Data:
 - OD management
    - Copy definitions from file
    - usage stats
    - Rename columns
    - Reorder fields
    - Update definitions
    - Batch update definitions
    - Remove unused
 - Search OD
    - Find entities with no OD
    - Find entities with OD
    - Find entities with duplicate OD
    - Find entities with multiple OD
    - Find entities with no specific OD
    - Find entities with specific OD
    - Find entities with specific OD values
 - Attach/Detach OD
    - Attach/detach
    - Detach all
    - Detach specified
    - Detach duplicate
 - Copy OD
    - Copy OD from reference
    - Copy values from reference
    - Copy properties/OD from reference
    - Copy properties/OD values from reference
 - Set/edit OD values
    - Set values from XYZ
    - Set values from geometric properties
    - Set values from text
    - Create IDs
    - Replace values
    - Values from field in field
 - Modify entities
    - Convert to 2D polylines
    - Convert to 3D polylines
    - Break
 - Import /export
    - Export to mif/mid
    - Batch  export to mif/mid
    - Export to csv
    - Import from csv
 - - OD table

A small example recently posted on the forum: statistics about OD, viewing OD in the table, finding elements without the specified OD, attaching these elements to the required OD.

This list corresponds to the wishes and ideas from this forum: MAP New features - 01 - Improvments on Object Data, http://forums.autodesk.com/t5/autocad-map-3d-general/object-data-how-to-use-the-find-command/td-p/54... etc.


But the list is longer. The necessity of these possibilities is confirmed by daily use - they greatly accelerate, simplify and improve the work.

What other advanced features of working with Object Data may be needed?
For example, add a drawing with the Object Data on the sample of the specified existing object.  Import/export in kml/kmz, geojson. What else?

The resulting plugin could be a prototype for Autodesk add-ons for Object Data.
We could gather such additions to the forum participants, and offer as a general idea from many experienced users.


-- Alexander, private person, pacifist, english only with translator 🙂 --

Object-modeling _ odclass-odedit.com _ Help

18,376 Views
118 Replies
Replies (118)
Message 81 of 119

berson.guillaume
Advocate
Advocate

Hi, is there a way to set a range of values to OD so that a user can't misspell a word ?

----------
Head of Innovation - TT Géomètres Experts Paris
Autocad / Recap / Revit user
i7-9750H / RTX 2080
0 Likes
Message 82 of 119

АлексЮстасу
Advisor
Advisor

Hi,

 

This cannot be done in the AutoCAD window, including very difficult or impossible to do programmatically.

 

Such a way is in the ODCLASS plugin.
ODCLASS has a ODCLASS_PROPERTIES window specifically for viewing, entering and editing values in OD. Values can be defined by possible value lists and value ranges.
The values are cheked as soon as they are entered.
There are ODCLASS commands to check the completeness and correctness of OD values.


About ODCLASS can be viewed on the website in my signature.

 


-- Alexander, private person, pacifist, english only with translator 🙂 --

Object-modeling _ odclass-odedit.com _ Help

0 Likes
Message 83 of 119

If you seem incomprehensible or difficult, then I will show by a concrete example how to do it easily and quickly.

 


-- Alexander, private person, pacifist, english only with translator 🙂 --

Object-modeling _ odclass-odedit.com _ Help

0 Likes
Message 84 of 119

braudpat
Mentor
Mentor

Hello

 

A new beautiful Lisp Routine from @CADaSchtroumpf 

 

Routine : Text_Sel2OD

 

Select an OD Table, an OD Field and then a TEXT/MTEXT/ATTRIB/DIM/etc ...

 

And the value of TEXT/MTEXT/ATTRIB/DIM/etc is copied into the right OD Field ! 

 

A very interesting routine when you have TEXT/MTEXT/etc to integrate into OD Fields ...

 

THANKS Bruno !

 

THE HEALTH (Stay Safe), Regards, Patrice (The Old French EE Froggy)

 

 

 

Patrice ( Supporting Troops ) - Autodesk Expert Elite
If you are happy with my answer please mark "Accept as Solution" and if very happy please give me a Kudos (Felicitations) - Thanks

Patrice BRAUD

EESignature


Message 85 of 119

АлексЮстасу
Advisor
Advisor

Thank you for the publication!

 

And bravo Bruno @CADaSchtroumpf for his programs!

 

I have added a description and download of the Text_Sel2OD.lsp on my website in Additionally.

 

But:
- I was unable to load Dimension content.
- If there is no OD in dwg, the TABLES window cannot be closed.
- If you do not select OD in the TABLES window, the window cannot be closed.
- If you do not select a field in the CHAMPS window, this window cannot be closed.

 


-- Alexander, private person, pacifist, english only with translator 🙂 --

Object-modeling _ odclass-odedit.com _ Help

0 Likes
Message 86 of 119

berson.guillaume
Advocate
Advocate

Yes please that would be very helpful !

----------
Head of Innovation - TT Géomètres Experts Paris
Autocad / Recap / Revit user
i7-9750H / RTX 2080
0 Likes
Message 87 of 119

CADaSchtroumpf
Advisor
Advisor

Thanks alexander for the feedback for malfunctions.
Does the correction respond to your observations?

 

Message 88 of 119

АлексЮстасу
Advisor
Advisor

Yeah, you fixed it. Dimension values are loaded.
On the website, I also replaced.

 


-- Alexander, private person, pacifist, english only with translator 🙂 --

Object-modeling _ odclass-odedit.com _ Help

0 Likes
Message 89 of 119

АлексЮстасу
Advisor
Advisor

If you give a minimum sample of data in dwg and an example of the desired range of values, lists of values, then I will show.

 


-- Alexander, private person, pacifist, english only with translator 🙂 --

Object-modeling _ odclass-odedit.com _ Help

0 Likes
Message 90 of 119

berson.guillaume
Advocate
Advocate

I don't really have it right now, I was just trying to make it work 😁

Just created a polyline with an OD Table, trying to constraint my value with a list of values through your program.

----------
Head of Innovation - TT Géomètres Experts Paris
Autocad / Recap / Revit user
i7-9750H / RTX 2080
0 Likes
Message 91 of 119

АлексЮстасу
Advisor
Advisor

In all ODCLASS samples, there are examples of value restrictions.
Restrictions are described in the object description file in the OD field descriptions.
For example, for the conditional field "material", a comma-separated list of valid values:
od_fld material Predominant surface material Character NULL Concrete, Metal, Stone or Brick, Composition, Rock, Earthen Works, Wood
For example, the conditional field "Integrity", a valid range of values via colon:
od_fld integr Integrity of data Real -0.00001 0.00000:1.00000

 

Load the Range_Sample.txt description file into ODCLASS.
There is one object type - conditional "Building" with OD "Building_Table" with three fields, two with restrictions.
From ODCLASS, you can draw such objects at once with the specified OD.
You can define any polyline, 3D polyline as "Building" using Define from the right mouse button in the object type window.
In the ODCLASS_PROPERTIES window, you can see the values in the OD, enter and edit manually, and select from the list.
By default, I described incorrect values. Incorrect values are colored magenta.

Range_Sample.png

 


-- Alexander, private person, pacifist, english only with translator 🙂 --

Object-modeling _ odclass-odedit.com _ Help

0 Likes
Message 92 of 119

braudpat
Mentor
Mentor

Hello

 

Just to have this IMPORTANT Topic "not too far" !

 

THE HEALTH (Stay Safe, Stay Home, Stay Live), Regards, Patrice (The Old French EE Froggy)

 

PS1 : I will retire the 30 September 2020 after 36 years of ACAD (beginning end of 1984 with ACAD R1.4), 26 years of ACAD MAP, 4 years of REVIT / InfraWorks, etc ...

 

PS2: But I will remain active ! So you will have to support me !?

 

Patrice ( Supporting Troops ) - Autodesk Expert Elite
If you are happy with my answer please mark "Accept as Solution" and if very happy please give me a Kudos (Felicitations) - Thanks

Patrice BRAUD

EESignature


Message 93 of 119

АлексЮстасу
Advisor
Advisor

Thank you, Patrice!

 

Be healthy and active!

 

Your experience is a great power! We'll use it. We will listen to your advices.

 


-- Alexander, private person, pacifist, english only with translator 🙂 --

Object-modeling _ odclass-odedit.com _ Help

0 Likes
Message 94 of 119

braudpat
Mentor
Mentor

Hello

 

An other beautiful routine from Bruno ! Many Thanks to @CADaSchtroumpf !!

 

This "Operate_OD" routine updates a numeric (Integer or Float/Real) OD Field from 2 other numeric (Integer or Float/Real) OD Fields with the 4 standard operators : + - / *

 

THE HEALTH (Stay Safe, Stay Home, Stay Live), Regards, Patrice (The Retired Old French EE Froggy)

 

Patrice ( Supporting Troops ) - Autodesk Expert Elite
If you are happy with my answer please mark "Accept as Solution" and if very happy please give me a Kudos (Felicitations) - Thanks

Patrice BRAUD

EESignature


Message 95 of 119

АлексЮстасу
Advisor
Advisor

Hi, Patrice,

 

Thank you, useful program!
Bruno, CADaSchtroumpf did well again!


By the way, the 1st field, the 2nd field and the field for the result can be the same field. 🙂

 

It is better to write about new programs for OD in a special theme - there is the entire collection.

https://forums.autodesk.com/t5/autocad-map-3d-forum/applications-for-object-data/td-p/9336333

 

Health!

 


-- Alexander, private person, pacifist, english only with translator 🙂 --

Object-modeling _ odclass-odedit.com _ Help

0 Likes
Message 96 of 119

noambbb
Contributor
Contributor

Will ODEDIT for autocad map 2021  be available soon? 

Message 97 of 119

АлексЮстасу
Advisor
Advisor

Unfortunately, I don't have the option to make the ODEDIT option for 2021 right now.

 

On the other hand: in the App Store, ODEDIT has only five, it seems, ratings, on the forum there are only a dozen likes, ffive or six people have written in total that they are actively using ODEDIT.
I see that the plugin was taken many hundreds of times in the App Store, many visit the plugin website, hundreds there also take programs.
It is likely that many then themselves pass the plugin to other users without the App Store and website.
But i have no way to draw conclusions about number the real of ODEDIT users.
How can I convince the programmer to continue working based on a dozen likes?..

 

(I myself do not see a real alternative to ODEDIT, and I would very much like to continue and develop it, but I am not a programmer at all).

 


-- Alexander, private person, pacifist, english only with translator 🙂 --

Object-modeling _ odclass-odedit.com _ Help

Message 98 of 119

TerryDotson
Mentor
Mentor

I see that the plugin was taken many hundreds of times in the App Store, many visit the plugin website, hundreds there also take programs.

In a not so recent poll / study, it was found that over half of free downloads never even got installed, let alone seriously evaluated.  Seems there are collectors out there that want to have everything handy in case they need it someday.

Message 99 of 119

CADaSchtroumpf
Advisor
Advisor

Alexander

We are now in the era of the disposable tissue ...

It's not rewarding but that's how,  it works; we use it without saying thank you, it doesn't work, we throw it away without trying to understand.

Message 100 of 119

braudpat
Mentor
Mentor

Hello

+1 with @CADaSchtroumpf 

... Happy retirement for Bruno ...

The Health (Stay Safe, Stay Home, Stay Live), Bye, Patrice (The Retired Old French EE Froggy)

 

 

Patrice ( Supporting Troops ) - Autodesk Expert Elite
If you are happy with my answer please mark "Accept as Solution" and if very happy please give me a Kudos (Felicitations) - Thanks

Patrice BRAUD

EESignature


0 Likes