Search found 21 matches

by Fred
Friday 16 August, 2019 - 14:54
Forum: Enterprise Dynamics 4DScript
Topic: Human Centered Walking Worker Line
Replies: 2
Views: 54

Re: Human Centered Walking Worker Line

Have a look at the Human Resources examples.

You can find them here: [MyDocuments]\Enterprise Dynamics\10.2\Models\Examples\English\Human Resources

This should give you some ideas how to model it.

Gr. Fred...
by Fred
Wednesday 08 May, 2019 - 13:20
Forum: Modeling in Enterprise Dynamics
Topic: Is it possible to set the seed to keep stochasticity but get repeatability?
Replies: 4
Views: 478

Re: Is it possible to set the seed to keep stochasticity but get repeatability?

Hi Robin,

If you want each experiment sequence to start with the same seed value, you can indeed use GeneratorSeed.

Code: Select all

GeneratorSeed(0) := 10
Gr. Fred...
by Fred
Tuesday 07 May, 2019 - 13:29
Forum: Enterprise Dynamics 4DScript
Topic: Experiment Wizard
Replies: 4
Views: 875

Re: Experiment Wizard

Hi Chaix, You have opened a new form. That does not mean it is internally the active form. Use GuiSelect (see help) to make the new form active. With regards to the table data, you could use TableAsText to write the data to a string and then use save this string to a file by code. Have a look at the...
by Fred
Friday 03 May, 2019 - 20:25
Forum: Enterprise Dynamics 4DScript
Topic: Experiment Wizard
Replies: 4
Views: 875

Re: Experiment Wizard

Hi Chaix, There are 2 ways you can get to this form. Option 1: Select the menu option in the Simulate menu. KernelFnc([analyze experiment results]) Option 2: After the experiment. Open the Atom Editor and select the Experiment Support atom in the System group. Select the OnMessage event. Search for ...
by Fred
Tuesday 30 April, 2019 - 19:14
Forum: Modeling in Enterprise Dynamics
Topic: Execute 4dScript code from external application
Replies: 6
Views: 401

Re: Execute 4dScript code from external application

Try something like this:

Code: Select all

private void UseED() {
  ActiveXComponent app = new ActiveXComponent("ED.App");
  
  // Use app to invoke 4DScript by using the functions Run4DScript and Invoke4DScript.
}
by Fred
Friday 16 November, 2018 - 19:48
Forum: Enterprise Dynamics 4DScript
Topic: ED 10.2 Active Script - Debugger
Replies: 3
Views: 956

Re: ED 10.2 Active Script - Debugger

Hi Chiara,

This is unfortunately a bug which we have already fixed. This release will soon be made available for download.

It happens if you debug something with an "exit" or similar function call in it.

Kind regards,

Fred
by Fred
Monday 01 July, 2013 - 12:53
Forum: Enterprise Dynamics 4DScript
Topic: Icon-Editor for ED-Atoms
Replies: 2
Views: 2557

Re: Icon-Editor for ED-Atoms

Hi,

I personally use IcoFX.

Very nice icon editor, and has a good demo version available.

Gr. Fred...
by Fred
Tuesday 21 May, 2013 - 15:28
Forum: Enterprise Dynamics 4DScript
Topic: Annoying bugs in 4DS-Editor
Replies: 6
Views: 6403

Re: Annoying bugs in 4DS-Editor

Hi,

I have looked at our engine code and found out that we indeed do something strange with the clipboard. I don't think we can fix this for the upcoming release, but I have put your issue on the development workload.

Gr. Fred...
by Fred
Tuesday 21 May, 2013 - 14:52
Forum: Enterprise Dynamics 4DScript
Topic: Socket Communication
Replies: 7
Views: 4615

Re: Socket Communication

Hi Chiara,

Great! Good luck with the project.

Gr. Fred...
by Fred
Friday 17 May, 2013 - 21:26
Forum: Enterprise Dynamics 4DScript
Topic: Socket Communication
Replies: 7
Views: 4615

Re: Socket Communication

Hi Chiara,

Have you also looked at the Robot example I gave you?

ED has 2 ways of working with TCP/IP communication. The Socket atoms, but there are also some different 4DScript commands that you can use. The Robot example uses the 4DScript commands.

Gr. Fred...