[LandXML] FW: Developer Newbie Question

  • From: "Stuart Thompson" <mscom@xxxxxxxxxxxxxx>
  • To: <landxml@xxxxxxxxxxxxx>
  • Date: Thu, 20 May 2004 17:48:12 +1000

Guys,

I think the enumeration of Units values is the problem.  With this code:

LX::Metric * pMetric = (LX::Metric *) Unitschild->getObject();

int bb = pMetric->getAreaUnit();
int bc = pMetric->getLinearUnit();

I get what I want.  Thanks in  advance

Stuart Thompson

> 
> ----- Original Message -----
> From: "Stuart Thompson" <mscom@xxxxxxxxxxxxxx>
> To: <landxml@xxxxxxxxxxxxx>
> Sent: Tuesday, May 18, 2004 9:38 PM
> Subject: [LandXML] Developer Newbie Question
> 
> 
> G'day,
> 
> I,m new to landxml and not so chrash hot in C++ so I,ve got a
> couple of "newbie type" questions.
> 
> First things first:
> 
> Compiler: Visual C ++ 6.0
> Downloads: LandXMLSDK Beta 2
> landXML Sample Files: Landonline.xml
> 
> Personal Issues:
> 
> Our day to day compilers are Borland C++ builder and
> Metrowerks Codewarrior.  (So I was pretty pleased with myself 
> when I got both the SDK dll and Lxbrowser compiled under Visual C++.)
> 
> Our Objectives:
> 
> Create a PC application to input/output from our cogo survey
> data format to/from landXML.
> 
> My Question:
> 
> Using the example "Landonline.xml"  and the Lxbrowser app I
> can never see any data under:
> 
> UnitsCollection(1)
>   +Units
>     +Metric
> 
> Am I missing something ?  Thanks in advance.
> 
> Stuart Thompson
> 
> 
> 
> 
> 
> 
> 



Other related posts:

  • » [LandXML] FW: Developer Newbie Question