Replace component script for Autocad plant 3d - autocad-scripts

I’m looking for several command lines to enter in visual studio. These lines must create a program able to replace item in Autocad plant 3D from specification editor to 3d.
I would say that I’m a beginner at programming, could someone help?
Best regards,
Rémi

Related

Autodesk Forge Automation

I am writing this because i need to improve productivity in the company that I work for.
I made several applications for internal use with Visual Studio VB.NET, but at this time i am thinking about this:
I have some DWG drawings with blocks and attributes that i use as templates.
On the other hand I have an Excel worksheet with columns that start with a number in the first row and the values below. Each row number corresponds to an attribute in a block inside of each DWG template.
I want to fill those attributes with the Excel sheet values . I already made it locally but it will be good to make it in a cloud.
Is it possible with Autodesk Forge?
How?
I really need you to help me.
Best regards
Luis
This is definitely possible with Design Automation, I see that you already have a working application in AutoCAD, does your application is tested in accoreconsole ? That comes with AutoCAD installation.

Autocad selection filter in design automation

Hi I am prototyping an Autocad Design Automation project from an old desktop script. I used a selection filter before I realized that window selection etc don't work if it is off-screen. Design Automation by definition should be an 'off-screen' application, I think? Then I will have to loop through the whole database? Any other way to get around, please? I need to find a solution before too far off track...
Thank you very much!
You can test your script with accoreconsole.exe (it is in the autocad installation folder) on your local machine. There's still a window although invisible so selection should work as in AutoCAD.
you are correct with the understanding that Design Automation is off-screen. So the section of user interactive will not work on cloud engine. While windows selection of AutoCAD can input the windows points in code. e.g. in Design Automation scripts, define as below:
select w -150,150,0 150,-150,0 \n
It will select all entities that within the windows of the two corners. I used local Accoreconsole to demo (attached snapshot) . Accoreconsole is an off-screen environment on local. It is similar to Design Automation engine.
If your workflow does not know where the user may select, it will be not either possible to Design Automation to perform the action.

JavaFX GUI, easiest way for complex 3D Graphics

I am creating a software for calculating gearbox parts using Swing and OpenGL (with JOGL).
With this software the calculated parts are shown in 3D. The following picture shows an example part:
At first the geometry is specified/calculated (tip/root Diameter, width, number of teeth...) and out of this data the 3D-part is created. This example part is made with JOGL-Code because it's easy to use for me and can be integrated in a Swing-GUI.
Now a played around a bit with JavaFX Application GUI's and decided to continue making my software in JavaFX because it offers everything i need, looks much better and so on. The problem is I can't use my JOGL-OpenGL graphics.
So here are the possibilities for me:
Search for a way to integrate OpenGL-graphics in a JavaFX-Application - but I googled a bit and this seems to be quite difficult and the possible solutions seem to be very slow.
Use JavaFX integrated 3D-graphics (TriangleMesh) - but this is difficult to understand and I can't find good examples to learn it.
Any other solution?
Can you please help me finding a good solution? What would you do? My favorite would be to continue using OpenGL, but is there any good solution for this yet?
If you are looking for some JavaFX 3D resources that may help you decide whether its already mature or not, these are available, among others:
3DViewer here from the OpenFJX project.
InteractiveMesh importers and browser.
F(X)yz, a new JavaFX 3D library that provides additional primitives, composite objects, controls and data visualizations that the base JavaFX 8 3D packages do not have.
Multimodel3DFX, repository contains the code for the example shown on the article "Building Castles in the Sky. Using JavaFX 3D to model historical treasures" published in Oracle Java Magazine, issue from November/Dicember 2014.
Using a PolyLine3D from F(X)yz and the Multimodel3DFX plaftorm I was able to extrude a 2D polyline of a spur gear, so you can see how it's rendered in a JavaFX 3D subscene:
These are also mathematical 3D models generated using the F(X)yz library, all of them based on TriangleMesh.
As you can see, JavaFX 3D API, with its pros and cons, can be easily extended to achieve complex tasks.

Write mathematical equation in flash

I am working on a math quiz using flash CS3 with ActionScript 3.0
I have the source document in Microsoft Word. They have all been typed in equation nicely.
I cannot copy them straight into flash document.
I do not want to printscreen those equation. There a lot of fraction,index and symbols.
Is there a way so that I can copy the equations straight into flash?
Is there something like, install plug in so that flash can read it?
You should consider using LaTeX2SWF library instead of trying to import Microsoft Equation directly.
Example here
If you can't download it, you can try something like this
You should also convert all of your Math Equations from Microsoft format to LaTeX. There are a lot of automated programs and plugins, like this, but there are lots of others

Is there a simplified explanation of how to setup an actionscript IDE?

I've recently purchased some beginner books on basic ActionScript animation and also downloaded the flashDevelop IDE. I've taken a couple Java classes and have a VERY basic understanding of coding and at that, computers in general. I'm having a difficult time figuring out this IDE (eclipse was setup for me). I've downloaded the file and installed the IDE. I made a file and wrote some code but when trying to compile I get some sort of pathway error and also an SDK error. I'm completely lost on how to fix these issues as the results I've found through Google and stackoverflow are not simplified enough. I'm also confused about how this ActionScript code will be turned into, say, a ball jumping around the screen. Could I please get a VERY simple, borderline special needs explanation of how to setup this IDE and also any info on additional programs needed to actually turn the code into an animation? Forgive me for my ignorance, but I'm starting from the ground up and any help will be much appreciated. Thank you
You may try Flash Builder, and you could change different version of sdk in flash builder. http://www.adobe.com/cn/products/flash-builder.html