Sorry, my students tell me all the time!!! The only thing you can need to do its a section and select some "morph" in the section view (not in plan or 3d view in this views it work well)

Paul
Moderator: face_off
Sorry, my students tell me all the time!!! The only thing you can need to do its a section and select some "morph" in the section view (not in plan or 3d view in this views it work well)
You are a monster!!!face_off wrote:Sorry, my students tell me all the time!!! The only thing you can need to do its a section and select some "morph" in the section view (not in plan or 3d view in this views it work well)The issue is fixed in the next version.
Paul
I have done some research into this. Ideally the proxy obj name, scale and rotation would be stored in the "parameters" of the host ArchiCAD Object instance (then you could freely copy it and the proxy info gets copied too). However a plugin cannot ADD parameters to an instance of an Object that is already in the scene. It can however READ and WRITE to existing parameters. So the plugin cannot add a parameter "Octane Proxy File" to a a chair object instance, which does NOT already have "Octane Proxy File" as a parameter in the library. It can however write to the "Octane Proxy File" parameter in the OCTANE PROXY OBJECT.gsm file you provided.One annoying thing i have found is when you copy or alt click an archicad "placer" object it loses the octane proxy information, is there a way to code the proxy file name into an archicad object so that it always refers to that object ie have a specific field in the objects gdl code that you can use to pull thru the proxy file location?, I want to have number of placholder objects already set up with their proxy objects sitting on my template then just alt click and place the desired objects within the scene.
This would be a great enhancement to the plug-in
During the development of the plugin I have managed to crash ArchiCAD many times, but never had a BSD. Did ArchiCAD save a dump report to C:\Users\[username]\Graphisoft\BugReporting-[version]? It would also be worth checking your Window event log.While testing a few problems occurred.
I got an unexpected blue screen (might be my system failure, not plugin)
Plugin freezed up a couple of times and the printscreens shows the latest freeze with "working...". I can change camera though and it starts rendering, but I cannot close vieport, plugin or Archicad.
If the robot is not at 0, 0, 0 in the ArchiCAD scene, it's offset from 0, 0, 0 will be applied BEFORE the transform matrix (which is what is happening in your scene). There are two solutions to this....1) Place the object at 0, 0, 0 (is it actually possible to specify coordinates in ArchiCAD to do this?), or 2) If there is a transform matrix specified for a geometry proxy, I have the plugin set the position of the object to 0, 0, 0 in the Octane scene prior to applying the transform (ie. instanced objects will repositioned at 0, 0, 0 in the Octane scene)2) Secondly this post is about the use of csv file.
On the left side you can see the example of what I am trying to achieve in testing scattering using a csv file: one leog copied to the right 4 times and rotate them on the spot.
On the right is my proxy that I am trying to make it like the example, but I did not get it work yet.
I have done some research into this. Ideally the proxy obj name, scale and rotation would be stored in the "parameters" of the host ArchiCAD Object instance (then you could freely copy it and the proxy info gets copied too). However a plugin cannot ADD parameters to an instance of an Object that is already in the scene. It can however READ and WRITE to existing parameters. So the plugin cannot add a parameter "Octane Proxy File" to a a chair object instance, which does NOT already have "Octane Proxy File" as a parameter in the library. It can however write to the "Octane Proxy File" parameter in the OCTANE PROXY OBJECT.gsm file you provided.
So options are:
1) Current implementation - where copying the host object does not copy the proxy info.
2) Proxy info is stored in the OCTANE PROXY OBJECT.gsm object instance, and ONLY that object can be used as a geometry proxy host object (ie. no other Object could be used as a geometry proxy host). You could copy the OCTANE PROXY OBJECT.gsm object instance and the proxy info would be copied too.
3) As per the current implementation, however IF the host object has a "Octane Proxy File" parameter (and the scale and rotation parameters), then they will be used to store the proxy info, otherwise the proxy info is stored in the pln file. In the case where the host object had the "Octane Proxy File", the plugin would keep this up to date with the current OBJ filename.
Option 3 is the most complex to implement, AND the most complex for people to understand, but offers the best flexibility. I'm tending to think it is the best option.
Paul
face_off wrote:Hi John
The current status is.....
- I have created a revised Octane Proxy Object.gsm object, which includes scale and rotation as parameters
- The plugin detects if the current object is the above gsm object, and if it is it uses the gsm object parameters as the master copy of the obj filename and scale/rotation
- If you edit the obj filename/rotation/scale in the plugin, it then saves these back to the above Object.
- If you copy the above object and then paste it - the new object contains the proxy data (which was the aim of all this)
There is one very very big limitation to the third point above....the save can only occur if you are viewing a 2d window. If you are viewing the 3d window when you update the filename/scale/rotation in the plugin window, the API will not let the parameters be updated by the plugin.
So I am re-working how this has been implemented, and moving away from the "parameter" method, and instead going to see if it's possible to use some internal data structures which won't be visible to the user, but achieve a better outcome. Unfortunately it will take another 24hrs to get it out to you.
Paul