writing-attributes

Write USD prim attributes with validated API patterns for scalar and array updates.

Updated Apr 29, 2026
One-click install
npx skills add https://github.com/PubCyBerry/SO101-Sim2Real --skill writing-attributes-pubcyberry
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: writing-attributes
Source: https://github.com/PubCyBerry/SO101-Sim2Real/tree/main/.agents/skills/writing-attributes
Command: npx skills add https://github.com/PubCyBerry/SO101-Sim2Real --skill writing-attributes-pubcyberry

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers safely modify USD prim attributes by providing accurate workflows for writing properties, materials, colors, mesh data, and other attribute values without guessing API behavior.

Core Features & Use Cases

  • Attribute Writing Guidance: Supports writing scalar and array attributes across Python and C APIs with correct data types, shapes, semantics, and synchronization rules.
  • USD Data Handling: Helps update prim properties, mesh attributes, tokens, transforms, colors, and structured USD values while following validated API patterns.
  • Use Case: A developer updating a USD scene can use this Skill to write a mesh point array or material-related property while preserving the required tensor layout and runtime constraints.

Quick Start

Ask the writing-attributes skill to update a USD prim attribute with the required type, value, and API usage pattern.

Frequently Asked Questions about writing-attributes

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write USD prim attributes using the Python and C APIs?

To write USD prim attributes, you apply validated API patterns for scalar and array property updates across Python and C APIs. This requires correct attribute schemas, tensor layouts, data types, semantics, and lifecycle handling to ensure safe runtime synchronization.

What is the correct way to update mesh point arrays and material properties in OpenUSD?

Updating mesh point arrays and material properties in OpenUSD requires preserving the correct tensor layout and runtime constraints. You apply validated API patterns to update structured USD values, mesh attributes, colors, and tokens without guessing API behavior.

Does this approach support both scalar and array attribute updates for OpenUSD workflows?

Yes, writing USD attributes supports both scalar and array attribute updates. It applies to OpenUSD workflows involving prim properties, materials, mesh data, transforms, tokens, and runtime attribute synchronization across Python and C integrations.

Why do my USD attribute writes fail due to data type or tensor layout issues?

USD attribute writes fail when data types, shapes, tensor layouts, or semantics do not match the required attribute schemas. You must follow validated API patterns and ensure correct lifecycle handling for runtime attribute synchronization to prevent failures.

Can I use this method to synchronize USD prim transforms and tokens at runtime?

Yes, you can synchronize USD prim transforms and tokens at runtime. The process applies validated API patterns for runtime attribute synchronization, ensuring correct data types and lifecycle handling for both Python and C integrations.