Problem accessing SubEntities from alignment

Hello Guys, my problem is acess property entity center point of subentity Arc, the python node is error, smebody help me fix this problem


?

Hi @souza288

Try first accessing the wrapped Civil 3D entity using the InternalDBObject property for the arc within your for loop. Then the CenterPoint property should be accessible.

Example:

aeccArc = arc.InternalDBObject
center = aeccArc.CenterPoint

thank’s jensen, but now there’s another error “no attribute InternalBBObject”

If you work on a note from toolkit
Maybe the owner Paolo_Emilio_Serra did not provide her with this property

Hi,

Here’s a non-python way to get the center point using the GetParameterByName node in the Civil3DToolkit.

2 Likes

thank’s jensen and omar.g !!!