See the top rated post in this thread. Click here

Results 1 to 4 of 4

Thread: C# programming examples

  1. #1
    Active Member
    Join Date
    2015-11
    Posts
    86
    Login to Give a bone
    0

    Unhappy C# programming examples

    Good afternoon.

    I am trying to do some c# programming in .NET, but I haven't been able to find a lot of resources on the web. I am also as green as grass in terms of .NET programming. I have read the articles by Mike Tuersley, and a few others but I still can't get what.

    I thought that I would start small and code a routine to set the active layer and text style. I have done it using LISP, but I want to branch out. If anyone can suggest some reading materials, or help jumpstart me with some code for the above, that would be great. Thanks.

    P.S. Here's the lisp code that I am currently using:

    Code:
    (defun c:L80 ()
    	(Setvar "cmdecho" 0)
    	(command "-layer" "S" "U-L080" "" "")
    	(command "TEXTSTYLE" "L80" "") 	
    	(Setvar "cmdecho" 1)
      ;; READY FOR L80 TEXT
      	(prompt "\nReady to insert L80 text...")
      	(princ)
    );enddefun
    [ Moderator Action = ON ] What are [ CODE ] tags... [ Moderator Action = OFF ]
    Last edited by Opie; 2006-06-08 at 01:34 PM. Reason: [CODE] tags added, see moderator comment

  2. #2
    100 Club
    Join Date
    2000-11
    Location
    Adelaide, South Australia
    Posts
    116
    Login to Give a bone
    1

    Default Re: C# programming examples

    Go here http://usa.autodesk.com/adsk/servlet...112&id=1911627 and download the AutoCAD .NET Labs.

    Go here http://usa.autodesk.com/adsk/servlet...3112&id=773180 and download the ObjectARX help files, samples & labs. These inlude the .NET (Managed) help and samples.

    Regards - Nathan

  3. #3
    The Silent Type Mike.Perry's Avatar
    Join Date
    2000-11
    Posts
    13,656
    Login to Give a bone
    0

    Default Re: C# programming examples


  4. #4
    Active Member
    Join Date
    2015-11
    Posts
    86
    Login to Give a bone
    0

    Default Re: C# programming examples

    Thank you both for the links. I will sift through all of it and (eventually) get coding. Have a good one.

Similar Threads

  1. examples
    By clintonc in forum Revit Structure - General
    Replies: 0
    Last Post: 2012-08-06, 04:14 PM
  2. Examples of some API
    By Richard Lopez in forum Revit - API
    Replies: 3
    Last Post: 2006-06-12, 11:14 PM
  3. API examples
    By GuyR in forum Revit - R & D Lounge
    Replies: 8
    Last Post: 2005-05-26, 01:01 AM
  4. CAN NOT GET VBA EXAMPLES TO W-O-R-K
    By joeposton in forum VBA/COM Interop
    Replies: 14
    Last Post: 2004-11-23, 04:32 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •