Community
VRED Forum
Welcome to Autodesk’s VRED Forums. Share your knowledge, ask questions, and explore popular VRED topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

NameError: name 'vrGeometryTypes' is not defined

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
1026896365
156 Views, 2 Replies

NameError: name 'vrGeometryTypes' is not defined

我想要使用vrGeometryTypes这个类,但是我从VRED2022一直升级到VRED2025,运行代码后仍然报错:NameError: name 'vrGeometryTypes' is not defined,请问下这个模块应该怎么在python中使用呢

我只是打印了一下vrGeometryTypes这个类

print(f“vrGeometryTypes: {vrGeometryTypes}”)

2 REPLIES 2
Message 2 of 3

Hi, try using directly vrKernelServices.vrGeometryTypes  Or add

 

from vrKernelServices import vrGeometryTypes

 

Best

Chris

Christian Garimberti
Technical Manager and Visualization Enthusiast
Qs Informatica S.r.l. | Qs Infor S.r.l. | My Website
Facebook | Instagram | Youtube | LinkedIn

EESignature

Message 3 of 3

Thank you!

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report