Hmm... I am on v6 and what I did was to create a file instance, brows to the project and accept. Then I went to the properties and removed the first part of the path, i.e. "c:\...\ProjectRoot\Furniture\Equipment\Computer.prj" becomes just "Equipment\Computer.prj". This seems to work even when the ProjectRoot is somewhere else. However, one think I noticed was that this only works if I start RS by doubleclicking the project file! If I open RS and then load the project, the file instance won't be found. Maybe this is what happened for you.
/ Fredrik On 16 October 2010 21:40, Matthias Kappenberg <[email protected]> wrote: > Hmmm, while rebuilding the structure, > i came the conclusion that the path is relative to realsoft root.. > or am i wrong :-? > > Matthias > > ----- Original Message ----- > From: "Matthias Kappenberg" <[email protected]> > To: <[email protected]> > Sent: Saturday, October 16, 2010 9:00 PM > Subject: Re: Nested file instances and paths > > >> Hi Freber, >> >> where is the Prj located :-? >> in which main folder :-? >> Realsoft Root >> >> Matthias >> >> >> ----- Original Message ----- >> From: <[email protected]> >> To: <[email protected]> >> Sent: Saturday, October 16, 2010 12:53 PM >> Subject: Nested file instances and paths >> >> >>> Hi, how does file path resolution work for nested instances? It >>> appears as if all paths are relative to the current project and not to >>> each file instance. Can anyone verify this? And is this good or bad? >>> >>> I have several life-long projects, one of which is a model of my >>> appartment. For this I have used bits and pieces from my old >>> appartment model and the projects are separated in folders for use as >>> file instances. Here are some example files and how they are arranged >>> in folders: >>> >>> Project root: >>> Apartment.prj >>> Project Root/Textures: >>> (Images used for textures in the main building) >>> Project root/Furniture: >>> Computer Rack.prj >>> Project root/Furniture/Textures: >>> (Images used for textures in the various pieces of furniture) >>> Project root/Furniture/Equipment: >>> Computer.prj >>> Project Root/Furniture/Equipment/Textures: >>> (Images used for textures in the equipment) >>> >>> The main project, "Apartment.prj", includes a file instance referring >>> to "Furniture/Computer Rack.prj". The computer rack, in turn includes >>> a file instance referring to "Equipment/Computer.prj". When working on >>> "Computer Rack.prj", the geometry can be loaded, but when working on >>> "Apartment.prj", the geometry of "Computer Rack.prj" can be loaded, >>> but thge geometry of "Computer.prj" is not shown. I only use relative >>> paths in the file instances as I sometimes work on a different PC >>> where the location of the project root is different. >>> >>> Is there a way to make the paths relative to each file instance or is >>> there a better way to organise the pieces? The idea here is, of course >>> that the same furniture and equipments is supposed to be used in >>> different projects without the need for tedious copying and version >>> management. >>> >>> Best regards, >>> Fredrik >>> >> >> > >
