16,017,502 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 .NET 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 @j@y123 (Top 23 by date)
@j@y123
5-Aug-16 7:47am
View
I want to print my dwg file name using mtext in same dwg file and what part is print i told already
@j@y123
5-Aug-16 6:06am
View
I am using vs 2015 and autocad 2011 using c#
@j@y123
29-Jul-16 0:59am
View
The output is correct in command prompt but mtext is not display on dwg
@j@y123
21-Jul-16 0:04am
View
yes. My code is calculate the area of hatches and i want to print it to user defined location but i am confuse that how can i get user defined location?
@j@y123
18-Jul-16 6:29am
View
I want to get that value to plot the output on my drawing
@j@y123
18-Jul-16 6:29am
View
Deleted
I want to get that value to plot the output on my drawing
@j@y123
11-Jul-16 0:30am
View
And second thing is that i want output on my drawing not on the prompt.
@j@y123
11-Jul-16 0:26am
View
it gives me error Suppression Error CS1503 Argument 1: cannot convert from 'string' to 'char'and 'double' to 'int'.
@j@y123
6-Jul-16 6:14am
View
This is the whole code for the same
@j@y123
6-Jul-16 6:14am
View
namespace allhatch
{
public class Class1
{
[CommandMethod("HA")]
public static void FindAllHatches()
{
Document acDoc = Application.DocumentManager.MdiActiveDocument;
acDoc.Editor.WriteMessage("\nSearching for Hatches");
var db = acDoc.Database;
using (Transaction transaction = db.TransactionManager.StartTransaction())
{
ObjectId idModelSpace = SymbolUtilityServices.GetBlockModelSpaceId(db);
BlockTableRecord modelSpace = transaction.GetObject(idModelSpace, OpenMode.ForWrite) as
BlockTableRecord;
foreach (var objId in modelSpace)
{
var entity = transaction.GetObject(objId, OpenMode.ForRead);
Hatch hatch = entity as Hatch;
if (hatch == null)
continue; //not hatch
MText actext = new MText();
actext.SetDatabaseDefaults();
actext.Height = 16;
actext.Width = 2;
actext.Contents = ("\n The area of hatch is =" + hatch.Area);
acDoc.Editor.WriteMessage("\n The area of hatch is:" + hatch.Area);
modelSpace.AppendEntity(actext);
transaction.AddNewlyCreatedDBObject(actext, true);
}
transaction.Commit();
}
}
}
}
@j@y123
29-Jun-16 4:11am
View
yes exactly the output of above code i want to display in my drawing
@j@y123
29-Jun-16 3:48am
View
in autocad there is command prompt where i am trying this solution but i want that output on my drawing.
@j@y123
4-May-16 7:19am
View
i am not writting code yet jst tel me that how to data transfer from console to database and input must be user typed input.
@j@y123
4-May-16 2:52am
View
not working still data not added in the database
@j@y123
30-Apr-16 1:52am
View
at text4 and text5 and lbl_day
@j@y123
30-Apr-16 1:51am
View
public static void Main(String[] args)
{
DateTime time = DateTime.Parse(text4);
DateTime time1 = DateTime.Parse(text5);
TimeSpan objTimeSpan = time - time1;
int days = objTimeSpan.Days;
if (days < 0)
{
days = -(days);
lbl_day = days;
}
i got error here
@j@y123
28-Apr-16 1:02am
View
in [dd-mm-yyyy] format
@j@y123
28-Apr-16 1:01am
View
I want to add that birthdate by user.
@j@y123
28-Apr-16 0:50am
View
I am not started with code.
@j@y123
27-Apr-16 7:07am
View
Thanx its really working.
@j@y123
27-Apr-16 6:41am
View
Thank you it works.
@j@y123
27-Apr-16 6:31am
View
The method which i define is in different class.
@j@y123
27-Apr-16 6:15am
View
Console.Write("You have cross the limit of shares.Do you want to continue?(Y/N)");
string input = Console.ReadLine();
switch (input)
{
case "y":Calculateshare(share:, totalBalance:);
break;
case "n":
break;
}
near Calculateshare the error is Argument missing in parameters.
Show More