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

Add polyline in VB.net

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
iwafb
202 Views, 2 Replies

Add polyline in VB.net

Hi All,

 

Finally decided to push myself to expand from LISP and try my hand at VB.NET.

 

To that end, I'd simply like to add a polyline to the model. I've defined it, but can't find how to commit the object to the database (apologies, I'm sure I'm using all the wrong terms...)

 

I've got:

 

'Define polyline
For i As Integer = 0 To arraylist.Count - 1
polyline.Append(arraylist(i))
Next

 

I was hoping to be able to use the AS API something like

polyline.WriteToDb()

 But obviously it doesn't work.

 

Is there a way to use the AS api to add the polyline to the model (seems simpler that the ACAD api) or do I have to cross over between the two?

 

Hope that makes sense and thanks in advance.

2 REPLIES 2
Message 2 of 3
NinovSM
in reply to: iwafb

You should use Autocad API for that. You can use AS & ACAD API at the same time but in different transactions.

Message 3 of 3
iwafb
in reply to: iwafb

Thanks for your reply. 👍

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

Post to forums  

Autodesk Design & Make Report