Autodesk / Autodesk/maya-usd

proxyAccessor can not communicate with USD 2Float

Open
#2,978 1 comment 0 reactions 1 assignee Claimed by @santosg87 View on GitHub
bug
Dominant language
Wolfram Language
Stars
905
Forks
223
Avg merge
2d 9h
Merged PRs (30d)
17

Description

**Describe the bug**
We are loving and using the python module "mayaUsd.lib.proxyAccessor" a lot to in/out usd data, to maya objects.

As mentioned here: https://github.com/Autodesk/maya-usd/discussions/1881
with the function "getOrCreateAccessPlug(ufeObject, usdAttribute, sdfValueType)" there was an issue with "float" values, tha already have been resolved.

What still does not work are:
* FLOAT2

untestet:
DOUBLE2, INT2, INT3

What would be nice, but maya does not support It by default:
FLOAT4, DOUBLE4

**Steps to reproduce**
Steps to reproduce the behavior:
1. GLoad a USD stage with a camera inside
2. use the "mayaUsd.lib.proxyAccesso.getOrCreateAccessPlug(ufeObject, usdAttribute, sdfValueType)" function to get the camras "clippingRange" attribute
3. Watch at the USD Proxy Shape the promoted attribute - it will be 0.0 and does not update proberly

**Expected behavior**
At least the float 2 should work and be implemented

**Attachments**

**Specs (if applicable):**
- Linux Centos7
- Maya USD 0.20
- Maya 2022

**Additional context**
Add any other context about the problem here.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.