• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

free alternative to autocad (no lt) for macro vba

  • Thread starter Thread starter tracciatura.net
  • Start date Start date

tracciatura.net

Guest
Hello.
I am looking for a valid and free alternative to run macros, especially the macro I described in another discussion I saw after being very dated ...
In practice starting from a dwg or dxf file I have to extract information from a block with attributes, create a new file copy lines/polies/archi/cers/etc. in the new file and export it to dxf, I must then be able to write also info on a .txt file, all easy operations with vba, until now I found only info on freecad that can run scripts but I'm not sure I can do everything I need... What else is free?
 
we have as company the autocad license until March 2020 but I'm looking for alternative, the cost of lt is accessible in fact we have 2 licenses but the complete according to me is out of the mind.
how does a company of 12 employees to amortize 1500 euros per year of autocad?
 
I installed nanocad and tried some vbscripts, it seems to work now I have to test all the steps I need.
thank you and if you need a development or tracking let me know!;)
 
try also gstarcad that should be unable to turn application. Of course it is not free, except for the first 30 days as demo, but it works very well, so much so that I bought it x work instead of the most blasoned... the price to comparison is ridiculous and with permanent license without any obligation to update annually!
 
try also gstarcad that should be unable to turn application. Of course it is not free, except for the first 30 days as demo, but it works very well, so much so that I bought it x work instead of the most blasoned... the price to comparison is ridiculous and with permanent license without any obligation to update annually!
gstarcad does not manage macro and vba in the 64-bit version but only in the 32-bit version.
 
gstarcad does not manage macro and vba in the 64-bit version but only in the 32-bit version.
So what I mounted in my office is a prototype?
via vba di excel (from version 2007 to 2016x64) gstarcad command like autocad, both in x64 version, and for printing operations is faster than autocad 2018.
 
boh.... I had tested both the 32-bit (on windows xp) and the 64-bit (on windows 7), and only the first allowed the creation/ execution of macros.
It is possible that you can download separately the vb module for the 64-bit module.
I didn't have too many problems, not having macro vb to turn!
 
well nanocad was a true revelation, almost identical to autocad and completely free even if used for profit.
with some difficulties (before all I have never used vbscript) I managed to translate the vba to vbscript marco into toto; 99% of the controls are identical but I must say that to have the insertionpoint values of a blockreference I have tribulated a lot not being easily reached with
Code:
thisdrawing.utility.prompt blockreferenceobj.insertionpoint(0)
but I had to punish and search on google for 10 days before finding the solution through a part of javascript code that gave me the suggestion. for the record the command to use is this:
Code:
dim pnt
pnt = thisdrawing.utility.createsafearrayfromvector(obj1.insertionpoint)
attention that pnt must be declared variant if by fa dim pnt() or dim pnt(2) does not work!! !
among other things the macro for printing that in vba for autocad required me a break of about 40/50 seconds between one print and the other (type that I opened about fifty drawings at a time and then I launched the macro that printed them all) for now translated into vscript on nancad works me simply with 2 seconds waiting. so it would seem better from that point of view.
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Staff online

Members online

Back
Top