TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: amc.dicsac on March 24, 2016, 08:50:57 PM
-
Hello
Is there any way to convert .bmp files to add as vector image .dcl
Example:
145 155 155 155 155 155 155 155 155 155 155 155 155 155 155 145
155 -15 -15 -15 -15 -15 -15 -15 -15 -15 -15 -15 -15 -15 -15 155
155 -15 145 145 163 163 163 163 163 163 163 163 145 145 -15 155
155 -15 254 254 -15 -15 -15 254 254 254 254 254 254 254 -15 155
155 -15 145 153 153 153 153 153 163 163 153 153 163 145 -15 155
155 -15 -15 -15 250 250 250 -15 -15 -15 254 251 -15 -15 -15 155
155 -15 145 163 153 153 153 153 153 153 153 153 163 145 -15 155
155 -15 -15 -15 -15 253 250 250 250 250 250 -15 -15 -15 -15 155
155 -15 145 145 163 153 153 153 153 153 153 153 163 145 -15 155
155 -15 -15 -15 -15 -15 018 -15 -15 -15 252 250 -15 -15 -15 155
155 -15 145 145 145 163 153 163 145 145 153 153 163 145 -15 155
155 -15 -15 -15 -15 -15 -15 -15 -15 -15 -15 -15 -15 -15 -15 155
155 -15 145 145 145 145 145 145 145 145 145 145 145 145 -15 155
155 -15 -15 -15 -15 -15 -15 -15 -15 -15 -15 -15 -15 -15 -15 155
252 155 155 155 155 155 155 155 155 155 155 155 155 155 155 252
254 254 254 254 254 254 254 254 254 254 254 254 254 254 254 254
-
http://www.theswamp.org/index.php?topic=41938.0
http://www.theswamp.org/index.php?topic=42529.0
-
Kindly see following link :-
http://help.autodesk.com/view/ACD/2016/ENU/?guid=GUID-1FD95F7C-0EBD-4841-9BE8-7C1EC210548D (http://help.autodesk.com/view/ACD/2016/ENU/?guid=GUID-1FD95F7C-0EBD-4841-9BE8-7C1EC210548D)
Also I have implemented the same in Excel VBA. Please see the file attached.
I am using AutoCAD 2014. Hence, in the VBA module, in the line :
Set colorv = AcadApplication.GetInterfaceObject("AutoCAD.AcCmColor.19")
, kindly change the number 19 to the version of your AutoCAD. Also I have seen that this module works only when my AutoCAD is open and any file (even a blank file) is opened. Kindly check at your end and let me know.
-
Hello such thanks for your answer. I have a problem when I open I get this error excell tell me there is a solution for that.
(http://i66.tinypic.com/i3c2a0.jpg)
-
In Excel, Press Alt+F11, a new window (Microsoft Visual Basic for Applications) will open.
Go to Tools --> References Kindly Tick options given in attached image.
(http://ABCD.jpg)
-
Hello
Is there any way to convert .bmp files to add as vector image .dcl
Example:
:whistling:
Our solution (bigs images as JPEG ) from my team,I converted 3 images (pisicute to auto-lisp.)
You unzip all files from "MSJDBC" to C:\ or C:\
Yoo view the file snapshot.gif
You run autocad.exe ,
You enter the command "appload"
You run the file pp_cat1.lsp from folder C:\VLAXCOMPIL\0User\pp_cat1.lsp
Q2<enter>
PS: AutoCAD love animals, cat, dog, lions?>
(http://www.puiubrat.3x.ro/cobmplsp/swamp_pisicute3.jpg)