CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] ARKANCE | CONTACT - CZ | SK | EN | DE
RSS channel - CAD tips RSS tips
RSS discussions

Discussion Discussion forum

?
CAD discussions, advices, exchange of experience

CAD Forum - Homepage CAD discussion forum - ask any CAD-related questions here, share your CAD knowledge on AutoCAD, Inventor, Revit and other Autodesk software with your peers from all over the world. To start a new topic, choose an appropriate forum.

Please abide by the rules of this forum.
This is a peer-to-peer forum. The forum doesn't replace the official direct technical support provided by ARKANCE for its customers.
How to post questions: register or login, go to the specific forum and click the NEW TOPIC button.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Topic ClosedDwg Format to Visual basic

 Post Reply Post Reply
Author
aykut66 View Drop Down
Newbie
Newbie


Joined: 07.May.2014
Location: Turkey
Using: autocad, solidworks
Status: Offline
Points: 4
Direct Link To This Post Topic: Dwg Format to Visual basic
    Posted: 08.May.2014 at 09:48
thank you for all. I want to learn it and if I can find that your program I wıll try it too. I wıll search it too here. 
NC AUTO CODE I wish it will help me. but if I can develop a vb code ıt can be better maybe. so I am searchıng a lıttle source code. I want to read dxf ıncredıents. I dont want to draw shapes with usıng vba. I saw it has book but my search is what is dxf formats. when I open it with notepad it has Line ... spline commands. and I wıll try to wrıte a apporiate code for it.

Back to Top
rs_higgins View Drop Down
Groupie
Groupie


Joined: 03.Dec.2013
Location: United States
Using: AutoCad 7-2020, SW 14, PRO-E died
Status: Offline
Points: 75
Direct Link To This Post Posted: 07.May.2014 at 22:59
There is a program out here called  "NC AUTO CODE" I can't find a new version of it. that writes M&G codes from autocad the last time I used it was in autocad 13 (not autocad 2013) it also worked in 2000i but I never up graded to it for use in 2000i and lost track of who now supports it but it was by Kramer Consulting, Inc. There seems to be a lot of companies with the same name. I know this is not much to go on but you may do some research and find help on this.
I am setting up my old system to check if I can take a dxf file back to AutoCad 13 and run NAC on it. I will let you know.
Back to Top
John Connor View Drop Down
Senior Member
Senior Member


Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
Direct Link To This Post Posted: 07.May.2014 at 18:21
Try the Customization forum over at the AutoDesk website.

http://forums.autodesk.com/t5/forums/searchpage/tab/message?solved=true&location=category%3AAutoCADTopic1

How to draw a line in AutoCAD using VBA...

http://autolisp-kishore.blogspot.com/2012/06/how-to-draw-line-in-autocad-using-vba.html


Edited by John Connor - 07.May.2014 at 18:55
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>

Back to Top
aykut66 View Drop Down
Newbie
Newbie


Joined: 07.May.2014
Location: Turkey
Using: autocad, solidworks
Status: Offline
Points: 4
Direct Link To This Post Posted: 07.May.2014 at 17:46
yes it has but ı need some source code in vb . then I wıll translate them G codes. thanks for your reply 
Back to Top
John Connor View Drop Down
Senior Member
Senior Member


Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
Direct Link To This Post Posted: 07.May.2014 at 14:45
If you do a "save as" in a DXF file format won't that contain the information you need?
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>

Back to Top
aykut66 View Drop Down
Newbie
Newbie


Joined: 07.May.2014
Location: Turkey
Using: autocad, solidworks
Status: Offline
Points: 4
Direct Link To This Post Posted: 07.May.2014 at 14:25

hello dear friends,
   i am working on a project of transforming the drawing.
I want to read the AutoCAD file in to VB program so that i can generate an equivalent drawing with the same co-ordinates. 
For this i need to know the file format of AutoCAD drawing file which contains the co-ordinates of the lines,circles.etc( shapes). I want to learn initial and end positions of this shapes.
"How i can read the file of AutocAD with extension( .DWG ) into my VB program to get the exact values of the drawing objectsn( lines etc ) 


Please help me in this regard with your valuable knowledge and experience. 

Best Regards, 

Aykut
Kocaeli University
Back to Top

Related CAD tips:


 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0,072 seconds.