Is CogoPoint not a CivilObject?

Hi

I am trying to add a style to cogopoints but when i try to do so with the civil extension i get the following error:

Warning: DocumentExtensions.SetStyle expects argument type(s) (Autodesk.Civil.DynamoNodes.CivilObject, string), but was called with (Autodesk.Civil.DynamoNodes.CogoPoint, string).

image

No cogo points aren’t considered civil objects. But try using the CogoPointExtensions.SetStyle node in the toolkit.

3 Likes

Thank you for your reply
When i check under the CogoPointExtensions i do not find a note called SetStyle:

(i have civiltoolkit 1.1.9 installed)

nevermind, i had an ancient version isntalled, thanks for your help!

1 Like