comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Reading DXF?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Reading DXF? [message #15128] Sun, 25 April 1999 00:00
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
T. Habermehl (nowhere@aol.com) writes:

> I�ve got an DXF, Autocad 13 file.
> How can I read it?
> I tried to use the given program dxf_example.pro, but I only could see
> the entities in a list and the window stayed white.
> Any ideas to solve this problem?

You should look at the Get_DFX_Objects module in the example
file you mention. (It is the second module in the file.)
This is the module that actually reads the DXF file and
is the information you want.

Having a white window when you first work with
object graphics is not unusual. In fact, most of
the people I know consider it something of a minor
miracle to see anything at all in the window even
when they are reasonably sure what they are doing
in the object graphic system. :-)

My guess is you have probably successfully read
the data. But the example program is probably
not scaling the data into the viewport window
in a way that will allow you to see it. You may
have to learn enough object graphics (sigh...)
to allow you to do this.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Previous Topic: IDL subroutine improvements
Next Topic: Re: Searching in a sorted array

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 16:04:09 PDT 2025

Total time taken to generate the page: 0.00420 seconds