I have an array of type object that I am trying to populate from inside
a script.  I create the data, type it and assign it to the array.
However, it seems that ironpython will only accept data that has been
cast to int.  Here is the code, can you tell me what I am doing wrong?

 

RectangleToken = Filters.GeneralToken()

      mRectangleToken.Parameters =Array[object](range(1))

 
mRectangleToken.Parameters[0]=IronPythonConversions.ConvertToDouble(3)

      Filter =Filters.Effects.Morphology.OpeningTool()

      BitmapImage=Filter.RunEffect(BitmapImage,mRectangleToken)

_______________________________________________
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to