"No attribute" Place Parts On Moving Objects

Forum Forums Visual Components 4.1 Academy "No attribute" Place Parts On Moving Objects

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by Keke Keke 4 months, 2 weeks ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #14731
    Avatar
    kbqhs
    Participant

    Hello,

    I watch the video “Place Parts On Moving Objects” and follow the instruction but an error message appears “AttributeError: ‘NoneType’ object has no attribute ‘ComponentCount'” so the robot doesn’t pick the object.

    Why “path” is a nonetype object?

    Thank you

    #14742
    Keke
    Keke
    Moderator

    Hi,

    None type means you didn’t get the handle for the object. In the tutorial path behaviour handle is gotten by using the findBehaviour method and referring to the path by its name. On your model path may have a different name. You can check the behavior tree which behaviors there are and what names they have.

    -k

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.