PnP TerrainCreator - Forum

The PnP TerrainCreator Forum
It is currently Sun Sep 24, 2017 5:45 pm

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: getting path information
PostPosted: Thu Nov 06, 2008 3:43 pm 
Offline

Joined: Tue Oct 14, 2008 6:59 pm
Posts: 6
Location: Charlottetown, PE, Canada
OK, so I'm exporting collections of collada .dae files from my pnp project and I encountered a problem where I have to open the .dae file (and read some of the contents). I unfortunatly can't find the path in the object manager and thus can't locate the file.

Is there a function call that will tell me where the objects are located? Kinda like GetName() for the project name.

I currently set my path to "./pnpmvw/OBJECTS/" but I'm guessing the working directory is not what I thought it was.

Any help would be appreciated, thanks.


Top
 Profile  
 
 Post subject: Re: getting path information
PostPosted: Thu Nov 06, 2008 3:46 pm 
Offline
Programmierdochfix
User avatar

Joined: Tue Apr 27, 2004 12:53 pm
Posts: 891
Location: Braunschweig
CIPnPTCTerrain01::GetProjectPath() returns the project directory, to which you can safely append "Objects"


Top
 Profile  
 
 Post subject: Re: getting path information
PostPosted: Thu Nov 06, 2008 5:07 pm 
Offline

Joined: Tue Oct 14, 2008 6:59 pm
Posts: 6
Location: Charlottetown, PE, Canada
Just a quick follow-up question, I read somewhere that there are (or will be) multiple paths where objects could be located. Is it true? And if so, would this cause a problem in the future?


Top
 Profile  
 
 Post subject: Re: getting path information
PostPosted: Thu Nov 06, 2008 7:18 pm 
Offline
Programmierdochfix
User avatar

Joined: Tue Apr 27, 2004 12:53 pm
Posts: 891
Location: Braunschweig
Yes to both questions. With the next release, there will be additional methods for reading the actually used path. But until then, there is no better way to get this path information.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron