Post 4.0 To Do List

Forums: Post 4.0 To Do List
Autodesk Revit (Integrated Plugin developed by Paul Kinnane)

Moderator: face_off

Re: Post 4.0 To Do List

Postby face_off » Tue Feb 12, 2019 6:41 am

face_off Tue Feb 12, 2019 6:41 am
Thanks for the feedback.

1. If you say that 'materials stored in the linked file will be ignored' (the 2nd method), how will those (ID-less) materials be displayed?
It would be easy to grab the Octane material definition from the linked file in this situation.

1, Ideally the materials from links should be manipulate (to apply octane material and to change) within the main.rvt.
I think that if you load a MAIN.RVT file which contains a link to LINKED.RVT, whist MAIN.RVT is open, there is no way to save changes to LINKED.RVT, so if it were possible to edit the Octane materials from LINKED.RVT whilst MAIN.RVT was open, the changes would need to be saved to MAIN.RVT. This introduces a further problem. LINKED.RVT is actually referenced as the full path name (ie. c:\myfolder\LINKED.RVT). So if you move MAIN.RVT and LINKED.RVT to another folder (say c:\myfolder2), all the Octane materials saved in MAIN.RVT for LINKED.RVT would be lost (because the filename of the linked file would be different from that saved in the MAIN.RVT file). So I am doubtful that I could make Octane materials in linked files editable.

Such as "Material A" in rvt1.rvt in a shape like rvt1-Material_A, means just adding the link's name work together with the material name, so no matter what the origin name (or ID) is, they will never conflict with any other material (from the main or other link, sub link etc) I guess vray and even revit internal render engine are doing similar things, If we are looking into vray for revit's material, we can see from which link they are coming from.
As stated above - I think this makes a major assumption that the .RVT filename is unique (so that all LINKED.RVT files present in your file system are the same). You may have MAIN.RVT contain c:\myfolder\LINKED.RVT and c:\myfolder2\LINKED.RVT - and they are separate and different linked files with the same name.

Ideally a .RVT file would have a unique reference number which the plugin could use to uniquely identify materials - but it doesn't have this. Using the filename is going to cause problems, due to the folder name being part of the filename, and it will therefore change when you move the .RVT file.

Based on the above, I feel option 2 is the better option. But I understand this may not be perfect, so is it worth doing at all?

Paul
Win7/Win10/Mavericks/Mint 17 - GTX550Ti/GT640M
Octane Plugin Support : Poser, ArchiCAD, Revit, Inventor, AutoCAD, Rhino, Modo, Nuke, DAZ Studio
Pls read before submitting a support question
User avatar
face_off
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 12986
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

Re: Post 4.0 To Do List

Postby jimho » Tue Feb 12, 2019 2:19 pm

jimho Tue Feb 12, 2019 2:19 pm
I think that if you load a MAIN.RVT file which contains a link to LINKED.RVT, whist MAIN.RVT is open, there is no way to save changes to LINKED.RVT,

True
so if it were possible to edit the Octane materials from LINKED.RVT whilst MAIN.RVT was open, the changes would need to be saved to MAIN.RVT.

This is actually what we want, change for that material should be saved in Main.rvt because it is where the view from, and actually shoud not be saved inr link.rvt, because from another main2.rvt's view, we may want this link.rvt look different.

This introduces a further problem. LINKED.RVT is actually referenced as the full path name (ie. c:\myfolder\LINKED.RVT). So if you move MAIN.RVT and LINKED.RVT to another folder (say c:\myfolder2), all the Octane materials saved in MAIN.RVT for LINKED.RVT would be lost

just FYR, Vray do have this kind of moving folder issues, similar to octane project transfer between PCs, if there is a clear guide which folders or files need to be moved together with the project, this may be viewed as work flow resolvable issue.

]As stated above - I think this makes a major assumption that the .RVT filename is unique (so that all LINKED.RVT files present in your file system are the same). You may have MAIN.RVT contain c:\myfolder\LINKED.RVT and c:\myfolder2\LINKED.RVT - and they are separate and different linked files with the same name.

In Vray's solution, c:\myfolder\LINKED.RVT and c:\myfolder2\LINKED.RVT are as different file, I think it is right

Based on the above, I feel option 2 is the better option. But I understand this may not be perfect, so is it worth doing at all?


As you mentioned the change for the plugin will make quite some workload for you, so before you go it should be a at least a strategy which really worthy, my view is this option 2 makes very small refinement, and not the right direction.

Strongly I suggest if you can look into Vray's solution, which is practically workable...
Thanks,

Jim

Supermicro 4028GR TR2|Intel xeon E5 2697 V3| windows 10| revit 2019 |Titan V+ Quadro GV100+RTX 2080 Ti
jimho
Licensed Customer
Licensed Customer
 
Posts: 47
Joined: Tue Aug 21, 2018 10:58 am

Re: Post 4.0 To Do List

Postby face_off » Fri Feb 15, 2019 12:16 am

face_off Fri Feb 15, 2019 12:16 am
As you mentioned the change for the plugin will make quite some workload for you, so before you go it should be a at least a strategy which really worthy, my view is this option 2 makes very small refinement, and not the right direction.
OK, I will take a closer look at what can be done with that solution.

Paul
Win7/Win10/Mavericks/Mint 17 - GTX550Ti/GT640M
Octane Plugin Support : Poser, ArchiCAD, Revit, Inventor, AutoCAD, Rhino, Modo, Nuke, DAZ Studio
Pls read before submitting a support question
User avatar
face_off
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 12986
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia
Previous

Return to Autodesk Revit


Who is online

Users browsing this forum: No registered users and 1 guest

Sat Feb 16, 2019 5:35 pm [ UTC ]