Giter VIP home page Giter VIP logo

Comments (6)

haplokuon avatar haplokuon commented on June 25, 2024 1

I cannot think of a reason why it should not work, this is a pretty standard net library after all; but I have no experience with IronPython. Try to explicitly import the netDxf.Entities namespace where the circle class resides or use the full namespace netDxf.Entities.Circle to instantiate a Circle object. Same thing applies to similar cases.

You are also using an old version of this library, update it just in case.

from netdxf.

haplokuon avatar haplokuon commented on June 25, 2024 1

The AddEntity method does not exist anymore, I changed that long time ago. This is how I knew that you were using an old version of the library, now you can find it in dxf.Entities.Add.

Check the samples, check the documentation, and pay attention to the error IronPython is returning.

from netdxf.

xyont avatar xyont commented on June 25, 2024

thank you for the hints and giving such as guidance, it seems almost work except in DxfDocument to add entity.

2023-10-10 14_53_03-test16 py - SciTE

from netdxf.

xyont avatar xyont commented on June 25, 2024

i downloaded from NuGet here, there's only one matched.

2023-10-11 02_44_58-netDxf dll Properties

where's the latest DLL versions link to download?

from netdxf.

haplokuon avatar haplokuon commented on June 25, 2024

Download the latest source code and build the library yourself. I am not related in any way, shape, or form with the nuget releases.

from netdxf.

xyont avatar xyont commented on June 25, 2024

hi,

it seems the problem solved., thanks again for latest hint about dxf.Entities.Add now is working, so many thanks for all.

2023-10-11 02_56_43-nanoCAD 5

sorry for confusing of my mixed example from previous versions of the libraries.

regards,

from netdxf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.