Hello Everybody,
I wante placing the blocs 2d of slepeers in cross section, i create the script below.
when I run the blocs of slepeers is not rotated.
Gretting
Hello Everybody,
I wante placing the blocs 2d of slepeers in cross section, i create the script below.
when I run the blocs of slepeers is not rotated.
Gretting
Yes but the same problèm, the block IS not rotated.
Try using BlockReference.ByCoordinateSystem instead, as it will allow you to see the result in Dynamo prior to sending to C3D.
Have you checked the lacing? It is not shown, but I suspect that multiple list levels are going in and every node handle levels differently.
Also, isn’t applied cant a mm value? I see that going into rotationdegree. And have you checked the degree input values to be correct?
Also, the rotation output value in getcantinfoatstation is a calculated value within the node, as it is not returned by the .NET method, so I would check, if it is in degree or radian.
Hola amigo @bgalleze buenas. can you share your files so we can take a look, the block is not rotated because you are indicating that the rotation is 0, the angles go from 0 to 359, 360 equals zero and so on.
Hello ,
send me you email, i will snt to you my file.
thank you
Please post files on the open forum, otherwise things become impossible to help beyond the individual you are working with and they might not always have the bandwidth to be a private teacher.
If you are worried about openly posting project data on the internet, build a similar sample data set to work off of.
Okay, so the issue is that there are more polylines in the list than section views, so pairing slips somewhere.
Also the polylines were imported to Dynamo in reverse order compared to cant info, so with the list reversed and the 4 closed plines deleted it looks good.
Check the number of polylines and reverse the order.
@ KOVACSV, thank you for your hepl.
can you please delete the file ( single track.dgn and dwg).
thank’s
Amigo @bgalleze buenas. It turns out that everyone gave very good options, it turns out that you were using AppliedCANT instead of Rotation values those values are so little that seems do not rotated blocks but it was, when i changed to Rotation values it works well.
at the end all this history of rotation could be solved by using Coordintate systems at parameter, and BlockReference.ByCoordinateSystem as Jacob says, conclution allways pay attention what the masters says!!
Good luck!! ![]()
it’s oky for me now
thank you for your help