Active Member
Posts: 7
Registered: ‎07-07-2003
Message 1 of 7 (238 Views)

# Write coordinates of LINE (X,Y,Z) to Object Data

238 Views, 6 Replies
03-31-2002 11:10 PM
Hello,

Has anyone familiar with writing code developed something that will dump the coordinates of selected line segments to object data? Would have to have a "from" and "to" field. Perhaps this is best done by creating topology? Any suggestions welcomed!

R Weiser
*Collins, David
Message 2 of 7 (238 Views)

# Re: Write coordinates of LINE (X,Y,Z) to Object Data

04-01-2002 01:19 AM in reply to: rweiser
You can do this with a little custom programming in LISP or VBA.  I am not
familiar with the MAP object model and unfortunately can't give you more
guidance than that.

Best of luck,

David Collins

style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
Hello,

Has anyone familiar with writing code developed something that will dump
the coordinates of selected line segments to object data? Would have to have a
"from" and "to" field. Perhaps this is best done by creating topology? Any
suggestions welcomed!

R Weiser

*Collins, David
Message 3 of 7 (238 Views)

# Re: Write coordinates of LINE (X,Y,Z) to Object Data

04-01-2002 09:24 AM in reply to: rweiser
I have looked into this one a little for you.
I have thrown together a quick VBA routine which will prompt you to select lines
and then create an object data table and populate it with the endpoints of the
lines.

The one hang up that I have is that the endpoints
of the line are in an array.  If I want to store them in the database, then
the easiest way is to have each X, Y, and Z coordinate in it's own
column.  This makes for a total of six columns: FromX, FromY, FromZ, ToX,
ToY, ToZ.  Is this a problem?

Regards,

David Collins

style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
Hello,

Has anyone familiar with writing code developed something that will dump
the coordinates of selected line segments to object data? Would have to have a
"from" and "to" field. Perhaps this is best done by creating topology? Any
suggestions welcomed!

R Weiser

*Collins, David
Message 4 of 7 (238 Views)

# Re: Write coordinates of LINE (X,Y,Z) to Object Data

04-01-2002 09:25 AM in reply to: rweiser
And another question.... I'm assuming you are using
Map 4.5 or better?

David

style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
Hello,

Has anyone familiar with writing code developed something that will dump
the coordinates of selected line segments to object data? Would have to have a
"from" and "to" field. Perhaps this is best done by creating topology? Any
suggestions welcomed!

R Weiser

*Rao, Rakesh
Message 5 of 7 (238 Views)

# Re: Write coordinates of LINE (X,Y,Z) to Object Data

04-02-2002 01:15 AM in reply to: rweiser
We are writing a program called PROP2OD (Properties to Object Data) that
will take standard AutoCAD properties like color, thickness, insertion
points, layer, elevation, Z values etc and populate them into object
tables. This is going to be added to our GeoTools program (see URL below
will keep you posted as this is made available.

Regards
Rakesh

rweiser wrote:

> Hello,
>
> Has anyone familiar with writing code developed something that will
> dump the coordinates of selected line segments to object data? Would
> have to have a "from" and "to" field. Perhaps this is best done by
> creating topology? Any suggestions welcomed!
>
> R Weiser

--

Get GeoTools @ http://www.4d-technologies.com/geotools
Build MyGeoTools @
http://www.4d-technologies.com/geotools/my_geotools.htm
Active Member
Posts: 9
Registered: ‎09-16-2002
Message 6 of 7 (238 Views)

# Re: Write coordinates of LINE (X,Y,Z) to Object Data

04-03-2002 11:51 AM in reply to: rweiser
I think it would not be helpful for creating topology by using any Programme . We have an option in AutocadMap.
Any how I have done this programme to dump coordinates of Line segments as Object data.
*Rao, Rakesh
Message 7 of 7 (238 Views)

# Re: Write coordinates of LINE (X,Y,Z) to Object Data

04-07-2002 10:41 PM in reply to: rweiser
This is now possible using the PROP2OD command in GeoTools. See our
copy.

- Rakesh Rao

rweiser wrote:

> Hello,
>
> Has anyone familiar with writing code developed something that will
> dump the coordinates of selected line segments to object data? Would
> have to have a "from" and "to" field. Perhaps this is best done by
> creating topology? Any suggestions welcomed!
>
> R Weiser

--

Get GeoTools @ http://www.4d-technologies.com/geotools
Build MyGeoTools @
http://www.4d-technologies.com/geotools/my_geotools.htm

Recently Solved