Object Data - Points numbering by path.

Object Data - Points numbering by path.

lglowackiGCI
Explorer Explorer
975 Views
6 Replies
Message 1 of 7

Object Data - Points numbering by path.

lglowackiGCI
Explorer
Explorer

Hello,

 

I would like to number the points with Object Data table, in the order by path. Is it possible to define, for example, a path with a polyline and transfer the values of vertices number that overlap with the location of points to their specified OD field?

Any suggestions or ideas, lisp? 

 

numerator.png

 

 

976 Views
6 Replies
Replies (6)
Message 2 of 7

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

Hi,

 

First of all, the points on the vertices must be independent objects - points, blocks, or the like. Otherwise you can't attach OD to them. Are they separate primitives?
Second, do these points already have inscriptions with their numbers? Texts, attributes?
Third, were these points created sequentially or in random order?

 

1. If the points already exist.
If these points were created sequentially, then ODEDIT_SETID - creating ID in the specified field OD can help.
If the points already have number inscriptions, then ODEDIT_SETTEXT - loading text content into the specified OD field can help. Or ODEDIT_LOAD_ATTRS - loading attribute values into the OD field.
These commands work for many, all specified objects at once.

 

You can manually load the content of texts/attributes into the desired OD field by Text_Sel2OD.lsp from CADaSchtroumpf.

 

2. If you need to create points, lisp's for that definitely exist - look in the Appstore or in general on the forum.
I just found it on the Russian forum NVX.lsp.
You can take the famous PtM from Lee Mac - create dots on the vertices.
When you create the points, will act as described in 1.

 

But points can also be created by exporting polylines and loading their vertices as points. Before loading the points, you can number them in a table editor or the like.

 


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

Object-modeling _ odclass-odedit.com _ Help

Message 3 of 7

CADaSchtroumpf
Advisor
Advisor

Hi,

For try, you can use Point&OD@Vertex for make point at vertex with Object Data

If you want numerate the points, you can use OD2Label_Pt

 

Message 4 of 7

lglowackiGCI
Explorer
Explorer

Thank you for the quick answer, but I have to specify what I need because my attached drawing could be misleading.

 

The points are drawn on the basis of the field inventory, they symbolize the existing trees. Points are independent 'point' objects and have an attached simple OD table with species name, diameter etc. in which I also have a prepared field for the inventory number.

 

I need a tool that will insert an inventory number into this prepared field in the OD table according to the order of the path. It is not a problem for me to generate descriptions of points based on the OD. 

 

The problem is the numbering trees in accordance with the chosen direction one after another, especially if there are several thousand of them. Randomly numbering them would create chaos in the search on the printed drawing.

 

The attached drawing showed only the sequence of the requested numbering, for an overview.

 

BTW, these polygons symbolize the existing shrubs and I would also like to be able to number them according to the desired direction of the path. Hence the idea to get somehow the data about the vertex number from the polyline and transfer this data to the prepared field in the OD table of the point.

0 Likes
Message 5 of 7

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

It would have been better if you had attached a dwg with illustrative examples from the beginning - no need to guess.

 

And Point & OD@Vertex.lsp from CADaSchtroumpf, and ODEDIT_SETID create numbers not randomly.
Point & OD@Vertex.lsp creates points in the order of the polyline vertices.
ODEDIT_SETID will create an IDs in the points creation sequence.

 


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

Object-modeling _ odclass-odedit.com _ Help

Message 6 of 7

АлексЮстасу
Advisor
Advisor
CADaSchtroumpf ,   👍 👍
 

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

Object-modeling _ odclass-odedit.com _ Help

0 Likes
Message 7 of 7

O_Eckmann
Mentor
Mentor

Hi,

 

You can use topology and my free plugin (ODOUT / ODIN), to manipulate data into Excel.

Here is a screencast

 

You have to explode path to obtain lines and create a topology form line as link and tree blocs as node.
Export OD topology links info with start/end node and OD topolgy node ID and your field to fill.
A little formula in excel to increment order and back into OD of your block.
 
Olivier

Olivier Eckmann

EESignature