Home Forums NextFEM Designer support forum Generate a mesh specifying the contour

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #4749
    Luciano Jacinto
    Participant

    Hello:
    I’m trying to generate a mesh using the method meshAreaTria(), but I get this error:

    PythonException: ‘list’ value cannot be converted to System.Collections.Generic.List`1[System.String]

    Maybe this has to do with the filledContour parameter, where isn’t clear how to introduce it.
    Attached follows an example.

    How to specify correctly that parameter in Python?

    Grateful for the help.

    Attachments:
    You must be logged in to view attached files.
    #4752
    NextFEM Admin
    Keymaster

    Hello,
    the problem is related to pythonnet, not to our API. You need to use the List object from .NET to access the method. Please find attached amended script.

    Attachments:
    You must be logged in to view attached files.
    #4755
    Luciano Jacinto
    Participant

    Thank you very much!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.