Proxy Objects not working with objects from archicad

Forums: Proxy Objects not working with objects from archicad
Graphisoft ArchiCAD (Integrated Plugin developed by Paul Kinnane)

Moderator: face_off

Proxy Objects not working with objects from archicad

Postby Jan21201 » Sun May 24, 2015 9:46 pm

Jan21201 Sun May 24, 2015 9:46 pm
at1_cubo_archi.JPG
at1
Unfortunately i have to seek again for your help grand octane archicad masters!

My Problem is relativly simple: evry object i export from archicad to an obj file so i can use it as proxy is not working as proxy. when i export an geometry out of, lets say, sketchup its working perfect.
there are some error messages that light up, or it dosent give me an error and the proxy object wont render.
here let me show you waht im doing here, maybe there is something wrong allready:

Attachement 1:
As you can see i have a simple cuboid in archicad. created in a complete new archicad file with nothing else in it.

Attachment 2:
I export that cubiod as object
(saveing with layers - surfaces or elements - surfaces have the same effect)

Attachment 3:
I create a cubiod in sketchup

Attachment 4:
Export cubiod as .obj file

Attachment 5:
I have to chairs, working as proxys
obj from sketchup is working as itended
obj from archicad not

attachement 6:
here is the error that ocurs normaly. the surface that is stated here does not exist. not in the mtl file or in the archicad. i dont know from where this surface could possible come from. furthermore did i check the .mtl file:

# FILE:OBJECT_FROM_ARCHICAD.obj
newmtl GDLM1_SHADOW_MATERIAL
Ka 0.228885 0.228885 0.228885
Kd 0.228885 0.228885 0.228885
Ks 0 0 0
illum 2
Ns 0
newmtl GDLM2_OPAQUE
Ka 0 0 0
Kd 0 0 0
Ks 0 0 0
illum 2
Ns 0
newmtl PAINT_-_LIGHT_GRAY
Ka 0.467765 0.467765 0.467765
Kd 0.540235 0.540235 0.540235
Ks 0.366667 0.366667 0.366667
illum 2
Ns 11
newmtl PEN_MATERIAL93
Ka 0.592401 0.592401 0.291051
Kd 0.592401 0.592401 0.291051
Ks 0 0 0
illum 2
Ns 0

the manual states "Edit the MTL file and change any lines with “map_Kd to “map_d”. in the case of the cubiod those lines does not exist. if i have them in a mtl file, changing those wont make any effect.

does someone know how to solve this issue?
i realy would like to have a nice forrest =(
Attachments
ERROR.JPG
at6
AT5_CHAIRS.JPG
at5
at4_cubo_sketch_SAVE.JPG
at4
at3_cubo_sketch.JPG
at3
at2_cubo_archi_save.JPG
at2
2x RTX2080S ftw!
Jan21201
Licensed Customer
Licensed Customer
 
Posts: 14
Joined: Mon Apr 20, 2015 10:38 pm

Re: Proxy Objects not working with objects from archicad

Postby rappet » Sun May 24, 2015 10:50 pm

rappet Sun May 24, 2015 10:50 pm
I had trouble with exporting correct OBJ fromout Archicad.
My workflow therfor is always exporting from Archicad to Sketchup,
And from Sketchup export to correct OBJ (using Octane exporter.... Works perfectly).
User avatar
rappet
Licensed Customer
Licensed Customer
 
Posts: 1962
Joined: Fri Apr 06, 2012 3:57 pm
Location: The Netherlands

Re: Proxy Objects not working with objects from archicad

Postby Jan21201 » Sun May 24, 2015 11:40 pm

Jan21201 Sun May 24, 2015 11:40 pm
When i export the file as sektchupfile to sketchup , no error message will show up and it the proxy object will not be shown in the viewport.
when i export the file as 3ds to sketchup, my dear friend is back...

needless to say that this is not the material name in archicad nor in sketchup...
Attachments
ERROR2.JPG
2x RTX2080S ftw!
Jan21201
Licensed Customer
Licensed Customer
 
Posts: 14
Joined: Mon Apr 20, 2015 10:38 pm

Re: Proxy Objects not working with objects from archicad

Postby face_off » Sun May 24, 2015 11:45 pm

face_off Sun May 24, 2015 11:45 pm
Hi - could you post the OBJ & MTL file exported from AC pls? I also couldn't work out how to just export a chair from AC - I could only export the entire scene, in which case the chair was exported with world coords (offset from the scene center) rather than local coords. So when I used it as a proxy, it was not in the correct location.

Also, does the OBJ load and render in Octane Standalone OK? Two suspect areas are...when exporting from AC you might have to set the drawing units wrong, and you might have exported the chair/cube/etc offset from the scene center.

The "material name too long" error comes from using a plugin release that is a little old. Update to the latest TEST build to fix this.

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: 15483
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

Re: Proxy Objects not working with objects from archicad

Postby Jan21201 » Mon May 25, 2015 3:29 pm

Jan21201 Mon May 25, 2015 3:29 pm
upgrading the plugin did the trick :)
the trees are now in!
thanks for the help!
Attachments
working.JPG
2x RTX2080S ftw!
Jan21201
Licensed Customer
Licensed Customer
 
Posts: 14
Joined: Mon Apr 20, 2015 10:38 pm

Re: Proxy Objects not working with objects from archicad

Postby Jan21201 » Fri Jun 12, 2015 7:53 pm

Jan21201 Fri Jun 12, 2015 7:53 pm
i dont open a new topic. dont want to spam the forum to hard =D

unfortunatly i need help again with the proxy objects. îm sorry =( im a newbiee i know....

the manual states:

You can copy an ArchiCAD Object which is a proxy host into the ArchiCAD clipboard, and paste that Object into another ArchiCAD scene – and the proxy information will be pasted too. Remember to save all the proxy materials as defaults first so they get picked up when you paste in the new scene.


i interpret that that way:

- make your proxy object
- define all the materials you want
- click the proxy object
- click on additional options, then on "save current proxy materials to default"
- click the proxy object in archicad in the floor plan (click on the chair)
- control + c or edit, then copy
- go to your new archicad file.
- press control + v or edit paste
- open actane
- open viewport and be amaxed with your uber awseome proxy object.


... its not working that way for me =( where do i do a mistake?

ill post pictures again:

1: my proxys from one archicad file

1_chairs1.JPG
attachement 1


2: proxys seen in the octane viewport. car in the middle is a audi a7
i saved the materials as default

2_cars.JPG


3. i copy the chair that represents the audi a7 to the clippboard

3_copy.JPG



4. i paste the chair into a new archicad file

4_copy.JPG



5. no succses. audi is red from the standard proxy file and not the gray it should be.

5a7_nogood.JPG


does someone have a idee where i get it all wrong?
2x RTX2080S ftw!
Jan21201
Licensed Customer
Licensed Customer
 
Posts: 14
Joined: Mon Apr 20, 2015 10:38 pm

Re: Proxy Objects not working with objects from archicad

Postby face_off » Sat Jun 13, 2015 8:45 am

face_off Sat Jun 13, 2015 8:45 am
Hi Jan - thanks for your detailed information in your question.

Your workflow is correct.

When you "copy" a proxy into the clipboard, you are really copying the ArchiCAD host object, which contains a tag indicating the OBJ filename of the proxy object - but it does NOT copy the materials for that proxy. So the step of "Save Current Proxy Materials as Defaults" is needed so when the OBJ is loaded in the next scene, it picks up the new defaults. However..the "Save Current Proxy Materials as Defaults" function is not working correctly (and potentially has never worked!). So this workflow is failing. I will try to get a fix for this in the next release.

In the meantime, you could use an ORBX file instead of an OBJ file, which allows you to specify the materials in the ORBX file.

Hope that helps.

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: 15483
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

Re: Proxy Objects not working with objects from archicad

Postby Jan21201 » Sat Jun 13, 2015 9:29 am

Jan21201 Sat Jun 13, 2015 9:29 am
Yes, yes that helps. im looking forward to the new update. :)
2x RTX2080S ftw!
Jan21201
Licensed Customer
Licensed Customer
 
Posts: 14
Joined: Mon Apr 20, 2015 10:38 pm

Return to Graphisoft ArchiCAD


Who is online

Users browsing this forum: No registered users and 31 guests

Sat Apr 27, 2024 2:15 pm [ UTC ]