4DScript

All topics on coding 4Dscript in Enterprise Dynamics.
Post Reply
freddy
Posts: 4
Joined: Tuesday 06 October, 2015 - 21:23

4DScript

Post by freddy »

I hope someone can help me....

I have built an ambulance model in enterprise dynamics, but when I run the experiment wizard, he gives the error:
"There is no default printer selected"
I don't know how to add a printer or delete one, does someone know how to handle this error??
thanks a lot!
Bram de Vries
Posts: 60
Joined: Thursday 08 January, 2015 - 13:29

Re: 4DScript

Post by Bram de Vries »

Hello Freddy,

Can I maybe take a look at your model? Then I can hopefully see what's going wrong.

Kind regards,

Bram
Bram de Vries
Posts: 60
Joined: Thursday 08 January, 2015 - 13:29

Re: 4DScript

Post by Bram de Vries »

Furthermore, could you provide me with the steps you take to the moment that this error pops up?

Kind regards,

Bram
freddy
Posts: 4
Joined: Tuesday 06 October, 2015 - 21:23

Re: 4DScript

Post by freddy »

Hey Bram,

I switched to another pc, but I don't understand how I have to let it run etc.
When I click on Experimentation --> Experiment Wizard he gives the following pop-up

"No Experiment Results found in this directory"

Sorry I really don't have that much knowledge of the program, so I hope you can help me....

Thanks a lot,
Freddy

ps. he automatically refers it to an audio file(dont know why), but you can open it with Enterprise dynamics.
Attachments
Ambulancemodel2.mod
(66.08 KiB) Downloaded 323 times
Bram de Vries
Posts: 60
Joined: Thursday 08 January, 2015 - 13:29

Re: 4DScript

Post by Bram de Vries »

Hello Freddy,

I think you should do the following to solve this problem:

- In the Library Tree (usually at the left side of your screen when you open Enterprise Dynamics), expand the System category (by pressing the + button next to it).
- Select Experiment Support and press F9, now this interface should expand and you should see several tabs (Atoms, Events, Editor etc.). Go to the Attriubutes Tab.
- There will be an attribute called ResultsDir. Here you need to enter the directory to which you want to write the results, then click Apply.

If I'm correct, this will solve your problem. Please let me know.

Kind regards,

Bram
freddy
Posts: 4
Joined: Tuesday 06 October, 2015 - 21:23

Re: 4DScript

Post by freddy »

Thanks a lot, for this simple problem, it worked !
However,,

when i run it on my own laptop, I still get the message of : "There is no default printer currently selected"

Do you know where I have to change this in my preferences or something?

Gr. Freddy
Bram de Vries
Posts: 60
Joined: Thursday 08 January, 2015 - 13:29

Re: 4DScript

Post by Bram de Vries »

Hello Freddy,

When exactly do you get this message? When you access the Experiment wizard, at the end of the experiment or at some other time?

Kind regards,

Bram
freddy
Posts: 4
Joined: Tuesday 06 October, 2015 - 21:23

Re: 4DScript

Post by freddy »

Hey Bram,

When I generate the report of the experiment he gives the error :cry:
So he won't produce the report

Gr. freddy
User avatar
MatthijsJongboer
Posts: 200
Joined: Thursday 11 November, 2010 - 14:12

Re: 4DScript

Post by MatthijsJongboer »

Hi Freddy.
The report is a print preview and requires you to have a printer installed.
To solve it, you need to install a (default) printer. Probably any printer will do here. You can also install a .pdf printer that does not require any physical printer.
As workaround, you could also copy the results from the table or save the data as .csv file.
Then you can use it in the format you require.

Regards,
Matthijs
Post Reply