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
Pls read before submitting a support question
User avatar
face_off
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 15471
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: 262
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
Pls read before submitting a support question
User avatar
face_off
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 15471
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

Re: Post 4.0 To Do List

Postby prehabitat » Tue Feb 19, 2019 12:26 pm

prehabitat Tue Feb 19, 2019 12:26 pm
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,


If LINKED.rvt is a worksharing file you can save changes to the link while it’s loaded in the MAIN.rvt...

I vote option 2 too, with preparation I feel it’s more flexible.
ie. can make global changes to materialA in main.rvt which will affect the link geometry too...
only one document library to manage,
could have proxy materials assigned within the link pretty easily and presumably pick & substitute from in the main.rvt
Win10/3770/16gb/K600(display)/GTX780(Octane)/GTX590/372.70
Octane 3.x: GH Lands VARQ Rhino5 -Rhino.io- C4D R16 / Revit17
prehabitat
Licensed Customer
Licensed Customer
 
Posts: 495
Joined: Fri Aug 16, 2013 10:30 am
Location: Victoria, Australia

Re: Post 4.0 To Do List

Postby jimho » Thu Feb 21, 2019 9:11 am

jimho Thu Feb 21, 2019 9:11 am
prehabitat wrote:I vote option 2 too, with preparation I feel it’s more flexible.

the current issue with the materials from the linked project is they are ignored, not loaded into the main scene. Since the materials are ID oriented, and cannot be touched by revit user, so it is no means even to get the lost material back.
Now our developer provides the "Option 2" which alter the ID oriented to material name oriented method when loading the materials, means the materials which are ignored now will still be ignored, but you can manually change the names in the sub link to let them in. This is a little bit improve, but far from enough.
To change the names manually can be too huge amount of work in a normal architectural scene.

As mentioned in the previous a few posts, the materials in the links should be translated into the main automatically, and can be substituted to oc materials.
It is kind of Option 3...

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: 262
Joined: Tue Aug 21, 2018 10:58 am

Re: Post 4.0 To Do List

Postby face_off » Tue Mar 26, 2019 11:45 pm

face_off Tue Mar 26, 2019 11:45 pm
An update on this issue......I posted a test build with option 1, and unfortunately it contained some substantial issues which ended up in the Octane 2018.1 build of the plugin, which I have now removed the download links for, due to these issues.

After a lot of coding to get around these issues, I now believe that option 1 is not possible to implement within the constraints of the Revit API, and I will now try to implement options 2 (ie. materials are matched by material name). If I cannot get option 2 working, I will need to rollout all the changes.

Thanks

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

Re: Post 4.0 To Do List

Postby Seekerfinder » Wed Mar 27, 2019 6:33 am

Seekerfinder Wed Mar 27, 2019 6:33 am
Thanks for your efforts on this, Paul.

Re my post earlier in this thread, I’d be keen to know how / phasing materials will be handled with linked models. I presume OR will follow the phase filter settings, where materials may be overridden by the ‘phase - exist’ material etc. It may just work out of the box when you impliment method 2 but please bear in mind to test the behaviour of linked models in different phases.

Many thanks,
Seeker
Win 8(64) | P9X79-E WS | i7-3930K | 32GB | GTX Titan & GTX 780Ti | SketchUP | Revit | Beta tester for Revit & Sketchup plugins for Octane
User avatar
Seekerfinder
Licensed Customer
Licensed Customer
 
Posts: 1600
Joined: Tue Jan 04, 2011 11:34 am

Re: Post 4.0 To Do List

Postby face_off » Fri Mar 29, 2019 5:59 am

face_off Fri Mar 29, 2019 5:59 am
Re my post earlier in this thread, I’d be keen to know how / phasing materials will be handled with linked models. I presume OR will follow the phase filter settings, where materials may be overridden by the ‘phase - exist’ material etc. It may just work out of the box when you impliment method 2 but please bear in mind to test the behaviour of linked models in different phases.
Hi Seeker, I'm sorry, but I don't know the answer to this.

I have just posted an EXPERIMENTAL build in the 2018 release thread using "Option 2", so would appreciate everyone testing it.

Thanks

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

Re: Post 4.0 To Do List

Postby Seekerfinder » Sat Mar 30, 2019 7:15 am

Seekerfinder Sat Mar 30, 2019 7:15 am
I saw that. Thanks Paul. Will give it a spin!
Win 8(64) | P9X79-E WS | i7-3930K | 32GB | GTX Titan & GTX 780Ti | SketchUP | Revit | Beta tester for Revit & Sketchup plugins for Octane
User avatar
Seekerfinder
Licensed Customer
Licensed Customer
 
Posts: 1600
Joined: Tue Jan 04, 2011 11:34 am

Re: Post 4.0 To Do List

Postby SamuelAB » Mon Apr 22, 2019 3:31 pm

SamuelAB Mon Apr 22, 2019 3:31 pm
Some comments on this:

Phases filters should not be followed in a rendering. No one wants to render existing materials in opaque grey...... If you want phase materials, please explain why. Revit renders should be in the phase filter 'Show Complete', with whatever active phase.

Linked file materials. By definition, in Revit, the materials in linked files are independent. If the engineers has his own materials named 'concrete' and the architect has his own material named 'concrete', they should not mix. Therefore option 1 is the one that mimics how Revit works. I understand that it is easier to manager multiple materials with operation 2, but that is not how Revit works.

Some reasons for this: Users are lazy at renaming materials and don't look into the materials on the linked files (other consultants). If you are the engineers, do you really care what material the architect is using? You're not going to open his model and look through the hundreds of materials to see if anything matched your materials. Imagine is the architecture concrete is pink, you don't want to have anything to do with that. It would also brign the other question, which materials wins? Is the concrete pink only when you open the architecture model and grey in the structural model? No, everyone is independent and allowed their materails with the same name, but with different graphics.
User avatar
SamuelAB
Licensed Customer
Licensed Customer
 
Posts: 168
Joined: Sun Apr 15, 2012 8:25 pm
Previous

Return to Autodesk Revit


Who is online

Users browsing this forum: No registered users and 2 guests

Thu Mar 28, 2024 12:25 pm [ UTC ]