Skip to Main Content

E-Business Suite

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to get the extents of an acad dwg in acad coordinates?

bill stampFeb 28 2020 — edited Mar 2 2020

Autovue desktop deployment

Working with an autocad 2d drawing where extents are 0,0 to 100,100

Ive looked at all the vueBean.getXXXX they all seem to return the autovue coordinates

None of the return anything similar to 0,0 100,100

They also dot return a value that looks as if its scaled from 0,0 100,100

void WriteFileInfo(FileWriter outFile) throws IOException

{

PAN_CtlFileInfo fileInfo = m_vueBean.getFileInfo();

DocumentInfo docInfo =  new DocumentInfo(fileInfo);

outFile.write("DOCINFO:" + docInfo+ "\n\n");

PAN_CtlRange range = fileInfo.getCoordinates();

outFile.write("CLIENT COORDINATES:" + range + "\n");

m_vueBean.clientToWorld(range);

outFile.write("CLIENT WORLD COORDINATES:" + range + "\n");

range = fileInfo.getLogicalExtents() ;

outFile.write("FILE  EXTENTS:" + range + "\n");

m_vueBean.clientToWorld(range);

outFile.write("FILE WORLD EXTENTS:" + range + "\n");

range = m_markupBean.getMarkupExtents();

outFile.write("MARKUP EXTENTS:" +range+ "\n");

m_vueBean.clientToWorld(range);

outFile.write("MARKUP WORLD EXTENTS:" +range+ "\n\n");

}

This post has been answered by Fethi Migaou-Oracle on Mar 1 2020
Jump to Answer
Comments
Post Details
Added on Feb 28 2020
3 comments
373 views