15,905,587 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Ronnie Kong (Top 3 by date)
Ronnie Kong
22-Sep-16 15:41pm
View
Bill is right on each point.
AutoCAD uses a database to store the graphic entities - I have personally worked with the database directly to sort and amend the graphic entities on naval vessel architectural tapes (.dwg) and (.dxf); and find that it works well.
The next big concern would be the graphics code you would need to write, maintain, and iterate through to handle your camera/view-ports - That's where I'm going to save myself the headache and use something already set up for graphics; like Bill said... I have made CAM software as a method of interfacing with cnc code for industrial plasma cutters using WPF and I would recommend doing the same.
It's certainly possible to do it with a form, and with that in mind - I know I'm not answering your question, but I've already been down this road and I just want to gently prod you towards what I've found to be an easier way.
Keep in mind even after you can store and draw entities you still need to be able to manipulate them... You'll need to be able to grab a circle by the center point, a line by the mid point, shorten and arc, join collinear segments, etc... all of that user interaction will require additional resources in the form of writing, maintaining, and iterating through code.
- Keep it short and simple.
Ronnie Kong
20-Apr-16 12:36pm
View
Are you trying to filter the results of a query?
Ronnie Kong
7-Apr-16 12:32pm
View
It's generally accepted that you will mark a solution as the answer if it answers your question.