Undo Python Script

Its been some time since this was asked, but its still a problem. I found this post, so this is for others that stumble upon it as well.

Here is my work around:

The help() doc for the class has the list of the properties. Each class property is surrounded by double ` characters. I am not sure if every class is well documented with the help() function so this could be error prone. This feels like a fragile solution but for the StaticmeshActor it seems to match the docs.

get class list of properties for unreal.StaticMeshActor

https://docs.unrealengine.com/en-US/PythonAPI/class/StaticMeshActor.html?highlight=staticmeshactor

obj = unreal.StaticMeshActor
doc = obj.doc
tokens = doc.split(‘``’)
class_properties = tokens[1::2]

quick print of the properties

for property in class_properties:
print property

Hopefully there will be a get_class_properties function at some point.

Ryan