## Search found 47 matches

Tue Jul 10, 2018 4:40 pm
Topic: Line drawing with relative angle
Replies: 2
Views: 3356

### Re: Line drawing with relative angle

I see, thanks again.
Tue Jul 10, 2018 3:51 pm
Topic: how to Simulate the keyboard press
Replies: 6
Views: 3999

### Re: how to Simulate the keyboard press

Works perfectly thanks !
Tue Jul 10, 2018 3:14 pm
Topic: how to Simulate the keyboard press
Replies: 6
Views: 3999

### Re: how to Simulate the keyboard press

This is what we have for now, but doing like this there is others scenarios than append, like replace with text when input text initial is selected ...
So for having the exact default behavior of input, why we serach to launch progamatically the key press.
Tue Jul 10, 2018 1:41 pm
Topic: Line drawing with relative angle
Replies: 2
Views: 3356

### Line drawing with relative angle

Hi, I have as input a line and precesion for angle and length for second line to draw, knowing that the angle is relative to first line. Is there a way to caclulate the point considering relative angle ? soemthing like the function : RVector createPolar (double radius, double angle) but with relativ...
Tue Jul 10, 2018 1:15 pm
Topic: how to Simulate the keyboard press
Replies: 6
Views: 3999

### Re: how to Simulate the keyboard press

I tried your 2 propositions, still not working for me.
Mon Jul 09, 2018 7:03 pm
Topic: how to Simulate the keyboard press
Replies: 6
Views: 3999

### how to Simulate the keyboard press

Hi, I want to simulate the keyboard press, I do like this : var appWin = EAction.getMainWindow() var ev = new QKeyEvent(QEvent.KeyPress, Qt.Key_8 ,Qt.NoModifier) var input = this.getDock().findChild("edtPolLength"); input.setFocus() QCoreApplication.postEvent(appWin, ev); The input get focus but the...
Fri Jul 06, 2018 3:08 pm
Topic: Detect layer changes
Replies: 8
Views: 4434

### Re: Detect layer changes

I found it RDocumentVariables.PropertyCurrentLayerId.

Thanks.
Fri Jul 06, 2018 3:03 pm
Topic: Detect layer changes
Replies: 8
Views: 4434

### Re: Detect layer changes

REntity.PropertyLayer is constant for : RPropertyTypeId(5, "", "", "", "Layer")
when I need constant of : RPropertyTypeId(18, "", "", "", "Current Layer ID")

Thanks.
Thu Jun 28, 2018 10:34 am
Topic: Doing layer changes in one operation
Replies: 2
Views: 3441

### Re: Doing layer changes in one operation

Thanks
Thu Jun 28, 2018 10:33 am
Topic: Detect layer changes
Replies: 8
Views: 4434

### Re: Detect layer changes

Thanks
Wed Jun 27, 2018 11:38 am
Topic: Detect layer changes
Replies: 8
Views: 4434

### Re: Detect layer changes

What's the property's constant of : RPropertyTypeId(18, "", "", "", "Current Layer ID") ?
(as RTextEntity.PropertyPositionX for RPropertyTypeId(53, "", "", "Text Position", "X") )
Wed Jun 27, 2018 11:09 am
Topic: Doing layer changes in one operation
Replies: 2
Views: 3441

### Doing layer changes in one operation

Hi,

How can I remove a layer, and set an other one as current layer in the same operation.

Thanks
Tue Jun 26, 2018 3:22 pm
Topic: Detect layer changes
Replies: 8
Views: 4434

### Re: Detect layer changes

Tue Jun 26, 2018 1:27 pm
Topic: Detect layer changes
Replies: 8
Views: 4434

### Detect layer changes

Hi,

Please, how can I detect layer changes information of a transaction ? (new layer added, removed, or setted as current)

Thanks
Fri Jun 22, 2018 12:59 pm