cancel
Showing results for 
Search instead for 
Did you mean: 

Path Template Configuration

Experimenter
Experimenter

Hey,

I'm trying to write a Path Template xml. It works but  I can't fix one problem.

 

I wrote an actionlist:

<Action Name="beforeA" Description="  " LocationTypes="<here i want to filter the location for a specific location name> " >  

            <AddLoc Name="beforeA" RefLoc="itself" Placed="Before" >
            </AddLoc>

</Action>

 

The LocationTypes values are only: "Via, Weld, Seam Start, Seam End, Seam Middle, Pick, Place"

How is it possibly to filter the location for a specific Name like "ViaA" oder "ViaB"?

Is it possibly in RobotExpert?

 

Thanks,

Mika

2 REPLIES

Re: Path Template Configuration

Genius
Genius

Hello Mika

 

Maybe you can access the dynamic parameter "Loc Name" with a CDATA block. Something like this:

 

<Action Name="beforeA" Description="  ">  
<If>
<![CDATA['Loc Name'==ViaA]]>
            <AddLoc Name="beforeA" RefLoc="itself" Placed="Before" >
            </AddLoc>
</If>
</Action>

Re: Path Template Configuration

Experimenter
Experimenter
Thats it!
Thanks a lot.