Search found 362 matches

by HarryBunnik
Wednesday 07 January, 2015 - 15:08
Forum: Enterprise Dynamics Atoms
Topic: feeder bowl
Replies: 7
Views: 8049

Re: feeder bowl

Ha David144, When you use an advanced conveyor, you can an "input strategy". As you can see in this small example model: AllowProductsinSequence.mod I use the modulo ("Mod(#,#)") to calculate, based on the number of products that have entered the conveyor, which source is up next...
by HarryBunnik
Wednesday 07 January, 2015 - 14:07
Forum: Enterprise Dynamics 4DScript
Topic: Conveyor sensor
Replies: 1
Views: 2932

Re: Conveyor sensor

Hello, Without a small model showing the behavior, its a bit difficult to suggest improvements, but it sounds to me as a workable method. The only point I have is the repeated usage of the commando "AtomByName", which is a slow way of finding an atom. Especially when you have larger models...
by HarryBunnik
Tuesday 06 January, 2015 - 18:09
Forum: Enterprise Dynamics 4DScript
Topic: Excel macro in ED
Replies: 3
Views: 4341

Re: Excel macro in ED

Hello Chiara, To execute code in Excel from ED, you'll have to use ActiveX. To give an idea, the code below opens an Excel application, execute some code and closes again. This is not actually working code, but might give you an idea how to tackle your idea and which code to use and search for. Howe...
by HarryBunnik
Thursday 11 December, 2014 - 09:51
Forum: Enterprise Dynamics 4DScript
Topic: Conditional distribution over the servers
Replies: 6
Views: 6625

Re: Conditional distribution over the servers

Hello Zola,

Can you clarify your question a bit? I'm afraid that I'm not sure what you want to ask.

Cheers,

Harry
by HarryBunnik
Thursday 27 November, 2014 - 16:33
Forum: Enterprise Dynamics 4DScript
Topic: Dead Source
Replies: 2
Views: 4091

Re: Dead Source

Hello Immo, The problem you have is caused by the code you've placed on the Reset of your source. rr:=2 By placing this code there, you've overruled the original code from the source that is now skipped. And as a result, the entire source is no longer working. If you try the following code on the On...
by HarryBunnik
Tuesday 28 October, 2014 - 16:03
Forum: Enterprise Dynamics 4DScript
Topic: Distance
Replies: 7
Views: 9222

Re: Distance

Ha Chiara, Perhaps I'm not understanding your question, but using xAbsLoc the location is determined in relation to the second parameter ( which must be an atom in which the first parameter/atom is located). When the second parameter is a reference to the model and you do so for both the atoms you'r...
by HarryBunnik
Monday 27 October, 2014 - 17:21
Forum: Enterprise Dynamics Atoms
Topic: AtomName
Replies: 6
Views: 6517

Re: AtomName

I'm not entirely sure what you mean, but when I look at your code, I think you're quite close. Would the following code do the trick? Repeat( Content(i), SetLabel([EnergyProduct],Label([EnergyProduct], rank(count, i))+20,rank(count, i)) ) I think that what you were missing is a reference within the ...
by HarryBunnik
Monday 27 October, 2014 - 11:19
Forum: Enterprise Dynamics Atoms
Topic: AtomName
Replies: 6
Views: 6517

Re: AtomName

Hello, That is correct, i is the package. And with the second snippet of code, you are looking within the package (i) for it's content "content(i)"and than execute the code for each occurrence "repeat" within that package (i) by referring to it using "rank(count, i)". S...
by HarryBunnik
Thursday 23 October, 2014 - 16:13
Forum: Enterprise Dynamics Atoms
Topic: 3D model
Replies: 9
Views: 9351

Re: 3D model

I used a 3D drawing program to flip the polygons. Perhaps the program in which you have created the 3D objects can do it or otherwise I think Blender 3D (Freeware) can do the trick for you, but I have no real experience with that program.

Cheers,

Harry
by HarryBunnik
Wednesday 22 October, 2014 - 18:13
Forum: Enterprise Dynamics Atoms
Topic: AtomName
Replies: 6
Views: 6517

Re: AtomName

Hello, It is possible to access an atom within another atom (i) by using first(i) or Rank(1, i). But on which product in the package in the server do you want to set this label? Only on the first of the 20? Label([ProductEnergy], First(i)) := ... Or on all? Repeat( Content(i), Label([ProductEnergy],...