How to fix bug in 2D presentation of DAE.-models in Anylogic? - blender

I am working with Anylogic (Researcher) and have implemented several agents in my model.
Usually, I use standard presentations for my agents. But for two of them, I have created two DAE.-models with Blender. The integration to Anylogic has worked easily. But in my running model, the 2D presentation is missing (no presentation). 3D presentation still works.
I already checked the "Show presentation" - Button, re-installed Anylogic, and re-integrated the DAE.-models.
What do you think? Should I create in Blender a 2D view?

Related

I want to export my AutoCAD Layers filters to another drawing

I work on drawings prepared by others. At the moment, I XREF the drawings into my own template and I have my Layers and Filters set to my preferences. However, I have to edit the XREF and create my own layers and filters within the other drawing - every time - twice a day. I want to export my filters to the drawing. I use AutoCAD 2014 and the option to export my filters to another drawing is not available. Apparantly, the option was available in earlier versions of AutoCAD but not mine. However, other Autodesk products do have this option (3DCivils, Architecture) so it is possible to export the layer filters.
I have tried to find a VBA method to do this but I have been unable to find the VBA property or method to read the filters. Moving the layers is easy, but not the filters. The forums say there is no method. Therefore, would it be possible to create an add-in that would manipulate the Layer Manager and create my Layer Filters. I would have a button that would run the macro.
I suspect I will have to write a .NET routine but is what I am trying to achieve 'do-able'.
This is definitely 'do-able'. Kean has a very clear article covering this topic. Once you read them you could either serialize them to a file (like XML) for export and have another routine just for populating new drawings or if you have both drawings open, just change the database the layers and filters need to be read/written to.

Are there also input controls similar to HTML5?

Can I build 3D interactive websites with a-frame? I mean, are there input controls like in HTML5? Type text in a textbox, upload files control, buttons, show a floating window with some 2d rendered HTML, like a table, etc? And then of course, have these spatially set up.
I am building an app that can help studying for the 2D web. I can imagine that being fully immersed in the study environment, and interact spatially, can help you learn even faster with more focus.
Nope, stuff must be built with WebGL. There are some early widget sets out there like aframe-material.

Found an OfficeDraw file with shapes. Can the shapes be used without continuous copy-and-paste?

I downloaded an OpenOffice Draw document with shapes I want to use (for drawing Apache Camel diagrams). I'm not very familiar with Draw, but I've used Visio; in Visio, there was a kind of file in which you could find/put shapes, then use to create drawings from those shapes. The shapes appeared in a panel left of and smaller than the drawing, and you could drag a shape from that panel to the drawing to put an instance of that shape on your drawing; the original shape remained on the smaller panel.
I think Visio called the file that held the shapes you could use a "template"; Draw has templates, but I haven't found a reference to them holding shapes to drag onto a drawing. I've tried looking it up, but am hampered by not knowing what terms Draw uses for these things. Can someone tell me whether this is possible in Draw, and what things I should look up help on? I hate to read a whole manual to find out how to use one feature, without even knowing if the feature exists...
--
I'm sorry, I should have done better describing what I have tried. The file holding the shapes is an odg file; it opens fine as a document, and the program allows me to save it as a template, but the behavior of being a collection of shapes that I can drag onto a new drawing repeatedly, without having to copy a shape each time, is not there. That's the feature I'm trying to find.
My version (LO 5.2.3.3/openSuse) allows the creation of a new shape gallery theme (see: View>Clipart Gallery), and the addition of various graphic format files to that theme.
Also, in context meni of a shape, I can edit with external program.
So, I guess, you can save the shape(s) in a file and add it to My Shapes theme.
There will be two new files in ~/.config/libreoffice/5/user/gallery with the shape(s), to backup/restore (to a new installation) or distribution (to other computers).
Edit if your version of the office suite is lacking of that menu options, maybe you can extract the shapes from the *.odg file: unzip it and look for a custom *.sdv and *.thm file in the archive.

Operate on data or simulate user input?

I'm trying to write my first blender script to import a BVH animation and copy the keyframes from the imported rig to an existing rig. It seems to me there are two ways to do this:
Operate on the data directly, by looping over bpy.data.objects[rig].animation_data.action.fcurves.keyframes and somehow copying them into the corresponding data structure on the existing rig
Simulate the way a user would do it by setting the context to a 3D view, importing the mesh, setting the context to the curves editor, selecting all, copying, switching back to 3D view, selecting the existing rig, switching back to curves again and pasting the data
Number 1 sounds like the right way to me, but looking at the API it seems that it's more geared towards number 2. Is that right? The Blender way of doing things would be to set the selection and use the copy/paste operators?
I'd like to know which is the idiomatic way of doing things in Blender.

Is it possible to reference a photoshop file or layer comp from within another photoshop file?

Creating all the art for a large website often involves a couple dozen 50+mb photoshop files. Frequently, a given module may appear in more than one file.
Is there a way to reference an oft-used module from another file?
For instance -
"site-section-2.psd" references "common-module-h.psd", and "site-section-6.psd" also references "common-module-h.psd", so that any time updates are made to "common-module-h.psd", the updates appear in both files which reference it.
Possible?
(maybe with photoshop javascript?)
I've checked the JSX Photoshop Object Model, and you can access LayerComps, but there is no magic function to save from one file to another. Something like this could be written to disk, from file1.psd for example, then loaded into file2.psd.
It's a bit of a long shot and I don't know if it's worth the trouble.
For web prototyping I use Fireworks and and I'm pretty happy. You can easily create symbols (much like in Flash and Illustrator) and even save them to a Common Library, which means it will be easy peasy to keep your navigation items for example up to date, for all the files using it. You can even import PSD files into Fireworks, only not all the filters will be supported.
Don't know if you can keep most of the eye-candy in Photoshop and then assemble reamble versions with ease using Fireworks.
You can try converting all the layers into one smart object and then drag the smart object layer into the new .psd file.
Go to the Layers palette: Window > Layers(F7).
LMB SINGLE CLICK the top layer.
Scroll down Layer palette until you get to the bottom.
SHIFT + LMB SINGLE CLICK. At this point all the layers should be hilighted.
RMB SINGLE CLICK any of Layer "Titles".
You should see a menu pop up so use the mouse to scroll until you find "Convert to Smart Object". LMB SINGLE CLICK to convert all the layers into one smart object. The smart object can be edited by double clicking it in the Layers palette. You can also drag a smart object from one .PSD into another .PSD. I usually just open both .PSD files and drag the smart object form one Layers palette to the other Layers palette.