Command works in the dynamo but not in civil 3d

Hi