How to create attachment at specific position for deformables

Isaac Sim Version

4.5.0
4.2.0
4.1.0
4.0.0
4.5.0
2023.1.1
2023.1.0-hotfix.1
Other (please specify):

Operating System

Ubuntu 22.04
Ubuntu 20.04
Windows 11
Windows 10
Other (please specify):

GPU Information

  • Model: NVIDIA GeForce RTX 3090 Ti
  • Driver Version: 535.183.01

Topic Description

Detailed Description

I want to create small attachments on different positions of my sphere-shaped deformable object. The only way I can find to create attachment is calling this : PhysxSchema.PhysxAutoAttachmentAPI.Apply(attachment.GetPrim()). It seems like it automatically chooses the attachment place. How can I specify the attachment position and size?

Error Messages

2025-04-25 17:04:01 [12,026ms] [Error] [omni.physx.plugin] PhysX error: PxDeformableElementFilter: No support for deformable group element count of 0 when filtering against a rigid body, FILE /builds/omniverse/physics/physx/source/physx/src/NpDeformableElementFilter.cpp, LINE 137

Additional Information

Related Issues

Here I found some similar issues, but no one had replied. I did exactly the same code as in this post.

I also want to mention, it seems like the attachment can only be applied to FixedCuboid or DynamicCuboid. If the target is initialized as SingleRigidPrim, the error No support for deformable group element count of 0 when filtering against a rigid body will show up. How to solve this problem?