Jump to content

Open image from AutoCAD session


Recommended Posts

Info available, also found a great program "exiftool" dives into everything that is in a various files pdf jpg bmp and more. Simpler though pick a jpg properties details and scroll down you will be suprised what is in there. Almost forgot you run exiftool from within Autocad.

 

Command: DUMPIT

Select object: ; IAcadRasterImage: AutoCAD Raster Interface
; Property values:
;   Application (RO) = #<VLA-OBJECT IAcadApplication 00007ff6df7a3318>
;   Brightness = 50
;   ClippingEnabled = -1
;   Contrast = 50
;   Document (RO) = #<VLA-OBJECT IAcadDocument 000000002a50e308>
;   EntityTransparency = "ByLayer"
;   Fade = 0
;   Handle (RO) = "6141"
;   HasExtensionDictionary (RO) = 0
;   Height (RO) = 1536.0
;   Hyperlinks (RO) = #<VLA-OBJECT IAcadHyperlinks 00000000386c2608>
;   ImageFile = "C:\\Users\\Samsung\\Documents\\phone photos\\IMG_0021.JPG"
;   ImageHeight = 0.75
;   ImageVisibility = -1
;   ImageWidth = 1.0
;   Layer = "0"
;   Linetype = "ByLayer"
;   LinetypeScale = 1.0
;   Lineweight = -1
;   Material = "ByLayer"
;   Name = "IMG_0021"
;   ObjectID (RO) = 435
;   ObjectID32 (RO) = 435
;   ObjectName (RO) = "AcDbRasterImage"
;   Origin = (0.0 0.0 0.0)
;   OwnerID (RO) = 436
;   OwnerID32 (RO) = 436
;   PlotStyleName = "ByLayer"
;   Rotation = 0.0
;   ScaleFactor = 1.0
;   ShowRotation = -1
;   transparency = 0
;   TrueColor = #<VLA-OBJECT IAcadAcCmColor 00000000386c1880>
;   Visible = -1
;   Width (RO) = 2048.0

 

something I am working on is the Lat Long

ScreenShot070.jpg

Link to comment
Share on other sites

Also you can create an alias look at acad.pgp can be called via lisp with file name

 

; Examples of external commands for Windows

; See also the (STARTAPP) AutoLISP function for an alternative method.

EXPLORER, START EXPLORER, 1,,

NOTEPAD, START NOTEPAD, 1,*File to edit: ,

PBRUSH, START PBRUSH, 1,,

 

From the link above "presence of a properly configured PGP file."

Link to comment
Share on other sites

Look into the "startapp" you can do all sorts of things with this command, also look at your ACAD.PGP the lines above are cut out of it. There are more examples which may make more sense of how to do. Basicly type "notepad" on command line notepad will open this is a out of the box setting. You should be able to start your image viewer and open a given file.

 

; CombinePdf 
(setq gsexe "C:\\Program Files\\gs\\gs9.19\\bin\\gswin64c.exe")
(defun CombinePdf (gsExe srcFileLst trgFile)
(startapp 
(strcat
gsExe " "
"-sDEVICE=pdfwrite -dBATCH -dNOPAUSE -dQUIET  "
"-sOutputFile=\"" trgFile "\" "
"\"" (KGA_String_Join srcFileLst "\" \"") "\"")))

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...