Community
Civil 3D Customization
Welcome to Autodesk’s AutoCAD Civil 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Civil 3D Customization topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Accessing Siteless Alignments

1 REPLY 1
Reply
Message 1 of 2
Anonymous
221 Views, 1 Reply

Accessing Siteless Alignments

Hi,

I have a drawing with no sites but it has an alignment.

How can I set my object variable so I can get at the alignments collection.

e.g.

dim oAlignments as aeccAlignments
dim oSite as aeccSite

'Set the object variable
set oAlignments = oSite.Alignments

' This is not possible using this method as there is the Site object is nothing.

If there is no Site object how do I get at the Alignment collection via VBA?
1 REPLY 1
Message 2 of 2
Anonymous
in reply to: Anonymous

It seems I was too quick again.

I found the PipeDocument.AlignmentsSiteless property which gives me access to the alignments.

Cheers

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


 

Autodesk Design & Make Report