Cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted

AngularConverter - curve table - automatic model generation - Bug

Experimenter
Experimenter

Hi community,

 

I have a problem with the AngularConveyor.

I want to set the direction (left or right) with a methode.

Because there is no attribute, I have to use the curve table.

 

The problem is, that it´s only possible to enter an tangential angle with 90 degrees (right turn).

When entering -90 (left turn), a failure occurs.

But when I change the direction manually the -90 is in the table... so it seems to be a bug...

 

I have to do it with a method, because my project is about autmatic model generation.

 

I look forward to your suggestions ;-)

 

Code-Example:

 

var obj : object;
obj:=.materialflow.angularconverter.createobject(.ADEX.Netzwerk,100,100,"Test")
.informationflow.table.createobject(.ADEX.netzwerk, 10, 300,"curvetable")
obj.getcurvesegments(.ADEX.netzwerk.curvetable)
.ADEX.Netzwerk.curvetable[1,3]:= -90
.ADEX.Netzwerk.curvetable[2,3]:= 10
obj.setcurvesegments(.ADEX.Netzwerk.curvetable)

1 REPLY

Re: AngularConverter - curve table - automatic model generation - Bug

Siemens Phenom Siemens Phenom
Siemens Phenom

Hi,

 

I'm afraid there is a bug in the method setCurveSegments for an AngularConverter. We will fix it immediately.

 

Perhaps you can use the method mirrorX after creation.

Or you can use the old method Segmentstable for creation until the bug is fixed.

 

Kind regards

Karola

------------------------------------------------------------------------------------------------------
Did you like the answer? Then click the Thumbs Up button.
Did the answer solve your problem? Then accept the answer as solution.