Search found 41 matches

by Justus
18 Feb 2019, 18:15
Forum: General questions
Topic: Sensors, scripts, tia portal. Small Project. Students need some help
Replies: 3
Views: 435

Re: Sensors, scripts, tia portal. Small Project. Students need some help

Hi Kaktuz, Multiple issues in your code/scene: the if/then block is not finished (it needed an extra "end") function sim.readProximitySensor needs the handle of the sensor object. So: resF=sim.readProximitySensor("Proximity_sensor0") should be: resF=sim.readProximitySensor(sim.getObjectHandle("Proxi...
by Justus
18 Feb 2019, 17:46
Forum: General questions
Topic: Get current value of combobox
Replies: 6
Views: 920

Re: Get current value of combobox

Happy to see that simUI.getComboboxSelectedIndex is available in v3.6.0! (just a note: the online documentation does not mention the function)
by Justus
18 Feb 2019, 17:36
Forum: Bug reports
Topic: sim.addScriptText seems to not work any more in Version 3.6
Replies: 2
Views: 178

Re: sim.addScriptText seems to not work any more in Version 3.6

I can confirm this issue, a simple child script like this: local hndScript=sim.addScript(sim.scripttype_childscript+sim.scripttype_threaded) local strScriptText="print('hello world!')" sim.setScriptText(hndScript,strScriptText) sim.associateScriptWithObject(hndScript,sim.getObjectHandle('Dummy0')) w...
by Justus
11 Feb 2019, 21:49
Forum: General questions
Topic: Sensors, scripts, tia portal. Small Project. Students need some help
Replies: 3
Views: 435

Re: Sensors, scripts, tia portal. Small Project. Students need some help

Hi Kaktuz, Maybe too late, but here goes: 1. Sensor: proximity sensor, ray type. Make sure the objects that need to be detected are detectable (Scene Object Properties -> Common -> Object special properties -> Detectable). Run the simulation and move the object in the sensor beam, the beam should th...
by Justus
05 Sep 2018, 07:02
Forum: General questions
Topic: Get current value of combobox
Replies: 6
Views: 920

Re: Get current value of combobox

Thanks for your support; this is the method that I was using.

Maybe someone from Coppelia can tell us more about the release schedule?
by Justus
04 Sep 2018, 13:19
Forum: General questions
Topic: Get current value of combobox
Replies: 6
Views: 920

Re: Get current value of combobox

Good to know the function is available. I prefer to use the official releases (so customers can download the tried and tested player).

Do you know when the next release is scheduled?
by Justus
31 Aug 2018, 11:20
Forum: General questions
Topic: Get current value of combobox
Replies: 6
Views: 920

Get current value of combobox

Hi,

I'm trying to retreive the index of the selected item in a combobox. However I cannot find this function in the API reference. Is there something like "simUI.getComboboxSelectedIndex" available?

Workaround I currently use is registering change events, but this is cumbersome.

-Justus
by Justus
08 Jul 2018, 18:06
Forum: General questions
Topic: python / bluezero
Replies: 5
Views: 908

Re: python / bluezero

When running b0.py in the V-REP folder there is no missing DLL issue anymore (import b0 is succesful). However, a new error comes up (using Python 2.7, vanilla installation). Traceback (most recent call last): File "b0remoteapi.py", line 1, in <module> import b0 File "C:\Program Files\V-REP3\V-REP_P...
by Justus
08 Jul 2018, 10:18
Forum: General questions
Topic: Looking for freelance V-REP developers
Replies: 0
Views: 1053

Looking for freelance V-REP developers

Hi, We're looking for freelance developers to help us create versatile, reliable and high-performing simulations. Simulations consist of conveyor systems and the basic machinery used in industrial bakeries, using V-REP and our own library/framework. We're developing on two fronts: - Creating V-REP s...
by Justus
04 Jul 2018, 19:14
Forum: General questions
Topic: python / bluezero
Replies: 5
Views: 908

Re: python / bluezero

Hi, Thanks for the info; so I suppose it is better to wait for a next release/revision before working with the BlueZero interface? Will it also support the shared memory feature (like the current remoteApi)? I tried the above with Python 2.7.13 (x86-64), but I still get the same error. Workflow: ins...