DynamoBIM Python Beginner's Guide to Moving a column element and debugging
I've created a video on how to use the transformation utility tool in the Revit API to move a point element from one location to another location. Using the transformation tool I also used the method MoveElements below I have added the method.
I also unedited the video to show how someone can read the error look up the line number and start to debug the node. Dynamo's IDE isn't very powerful but it can give you some information to allow you to do some debugging.
public static void MoveElements(
Document document,
ICollection<ElementId> elementsToMove,
XYZ translation
)
Sample code for this video can be found on my github.com pyDynamoI also unedited the video to show how someone can read the error look up the line number and start to debug the node. Dynamo's IDE isn't very powerful but it can give you some information to allow you to do some debugging.
Comments
Post a Comment