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

VBA newbie question for C3D

0 REPLIES 0
Reply
Message 1 of 1
XXL66
109 Views, 0 Replies

VBA newbie question for C3D

Hi, i'm trying to create a C3D point, i'm new to VB

and it doesn't seem to work, what am i 'm doing wrong ?

I don't get any message or error when running the routine:

The point also doen't show in the drawing,

thx for your help !


Dim drawing As ThisDrawing
Dim Ptn As AeccPoint
Ptn.Easting = 1000
Ptn.Northing = 2000
Ptn.Elevation = 10
Ptn.Name = "TEST"
drawing.ModelSpace.AddPoint (Ptn)
0 REPLIES 0

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

Post to forums  

Rail Community


 

Autodesk Design & Make Report