Results 1 to 3 of 3

Thread: Pass values into DLL CommandMethod

  1. #1
    Member
    Join Date
    2025-01
    Posts
    12
    Login to Give a bone
    0

    Question Pass values into DLL CommandMethod

    I'm still searching for the best solution for my task.

    Part of my requirements is to use data from my custom .exe (WinForms .NET Application) for populating DWG border information (Block Reference with Attributes).

    If I go down the .NET API route using NETLOAD to add my custom .DLL, how can I get data out of my .exe. The only thing I've thought of at the moment is to have a .txt or .csv files of fixed name/location that the .DLL looks at for values to use and my .exe write to that file before calling the drawings and NETLOAD.

    Any advice or suggestions would be appreciated.

    Thank you.

  2. #2
    Administrator Ed Jobe's Avatar
    Join Date
    2000-11
    Location
    Turlock, CA
    Posts
    6,561
    Login to Give a bone
    0

    Default Re: Pass values into DLL CommandMethod

    It would be nice if you could explain your process better, e.g. what do you need a custom dll for? You ask how to do specific things, but maybe that's not the best way. Please explain what you want to do.
    C:> ED WORKING....


    LinkedIn

  3. #3
    Administrator BlackBox's Avatar
    Join Date
    2009-11
    Posts
    5,766
    Login to Give a bone
    0

    Default Re: Pass values into DLL CommandMethod

    Quote Originally Posted by atomicpetrie823619 View Post
    I'm still searching for the best solution for my task.

    Part of my requirements is to use data from my custom .exe (WinForms .NET Application) for populating DWG border information (Block Reference with Attributes).

    If I go down the .NET API route using NETLOAD to add my custom .DLL, how can I get data out of my .exe. The only thing I've thought of at the moment is to have a .txt or .csv files of fixed name/location that the .DLL looks at for values to use and my .exe write to that file before calling the drawings and NETLOAD.
    ... Or you could instead simply develop your .NET plugin (.DLL) and have Core Console load your .NET assembly for each drawing in parallel.
    "How we think determines what we do, and what we do determines what we get."

    Sincpac C3D ~ Autodesk Exchange Apps

    Computer Specs:
    Dell Precision 5860, Xeon W7-2495X, 128GB RAM, Dual PCIe 4.0 M.2 SSD (RAID 0), 20GB NVIDIA RTX 4000 ADA

Similar Threads

  1. Replies: 3
    Last Post: 2014-09-16, 11:34 AM
  2. Replies: 4
    Last Post: 2014-09-12, 05:31 PM
  3. Replies: 23
    Last Post: 2011-02-08, 01:38 PM
  4. Problème chargement dll "myrevittools.dll"
    By kaartoum in forum Revit - API
    Replies: 1
    Last Post: 2008-10-01, 06:55 AM
  5. How to pass Hosting Wall thickness value into the family?
    By Gadget Man in forum Revit Architecture - General
    Replies: 12
    Last Post: 2005-03-16, 02:20 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
  •