Illustrator :: Programmatically Convert PDF To SVG?
Feb 18, 2014
I would want to use AI to convert PDF containing image and vectors to SVG. Using interface, it is working very well.
So now I want to include this operation in an existing application developed in .NET so that I can automate this transformation.
I have written this piece of code:
Illustrator.Application aiApp = new Illustrator.Application();
Document aiDoc = aiApp.Open(pdfFileName);
ExportOptionsSVG options = new ExportOptionsSVG();
View 1 Replies
ADVERTISEMENT
Aug 6, 2009
I am trying to help an organization convert lotssss of .jpg pictures that have been created by PhotoShop into a smaller resolution size. Can I receive a suggestion as to how this can be done pragmatically?
View 2 Replies
View Related
Oct 1, 2012
Any way to replicate an path object programmatically in a script? I'm searching for something like JavaScript's .toSource equivalent...
View 4 Replies
View Related
Dec 4, 2012
Is there a way to programatically convert CS5 and CS6 illustrator files to lower versions (CS4, CS3 etc) programatically. Are there any third party tools to do it.
View 5 Replies
View Related
Aug 15, 2013
Is there any way to programmatically call up the print dialog? Or is there some sort of "send keys" function similar to the corel vba?
View 4 Replies
View Related
Sep 21, 2013
How to programmatically change the position of the sun autocad?
View 6 Replies
View Related
Oct 16, 2012
I'm looking for a way to programmatically check if a dll file is a AutoCAD plug-in, preferably getting the version too.The only thing I can think of is using
System.Reflection.Assembly.ReflectionOnlyLoad()
to load the dll, search thru its references looking for Acad-specific (acdbmgd etc.) get the reference version, compare it to a list....
View 9 Replies
View Related
Mar 6, 2013
My requirement is to programmatically add labels to the objects on a CAD 2013 drawing in one operation (as opposed to typing them in). The labels exist in an external excel spreadsheet. I am new to CAD development.
View 4 Replies
View Related
Oct 24, 2011
I'm using sendcommand to draw various shapes in autocad.
the problem is my application (wpf) uses pixel units while autocad uses inches by default.
how can I change autocad units to pixel programmatically?
View 2 Replies
View Related
Apr 10, 2012
I'm not finding any way to add a profile to an alignment using .net api.
Is com the only way?
I can get at pvis via .net, so seems off they would leave out ability to add profiles.
[URL]
View 9 Replies
View Related
Jul 16, 2013
I'd hoped that I could change the name of a part document like I did with sketches, simply assignment:
BSTR bstrName ;pPartDoc->get_FullDocumentName (&bstrName) ;wprintf (L"
Full document name was %s
",wchar_t(bstrName)) ;pPartDoc->FullDocumentName = L"Whatever" ;
But the compiler complains about no put method on that last line.How do I change the name of a Part Document programatically?
View 1 Replies
View Related
Dec 26, 2013
We have a bunch of dwg files. The requirement is to extract a specific list of attributes from the layers within CAD to a csv file. We are currently manually opening the dwg using AutoCAD and exporting the attributes. This has been time consuming and we need a faster process.
What options do I have to programmtically extract them?
View 9 Replies
View Related
Aug 22, 2011
I have a .NET plugin that loads an ArcSDE geodatabase layer programmatically using AcMapMap.LoadLayer(layerFilepath). I have been trying to programmatically remove the layer from the Task Pane using AcMapMap.GetLayers().Remove(layer), but this function is returning 'false' and is not removing the layer.
View 7 Replies
View Related
Apr 9, 2012
I am trying to open a drawing file programmatically(automatically).
So for example.
If I have a file name "test.dwg" and run some custom command like 'openfile", AutoCAD opens "test.dwg" without any prompt.
The following code DOESN'T do the job I want.
Application.DocumentManager.MdiActiveDocument.SendStringToExecute("OPEN", true, false, true)
The problem is I have to hit enter after the above code is run.
View 7 Replies
View Related
Jun 1, 2012
i can access the General layer properties thru the api (circled in green on image). how can i programmatically access the Attributes (circled in red). is this possible?
View 1 Replies
View Related
Dec 29, 2012
I have a collection of 50 or so scanned images of old posters, with yellowed backgrounds. I want to put these images on the backs of business cards. The aspect ratio of the cards is not the same as that of the posters. I don't want to crop the posters to fit the cards. What I'd like to do is expand the margins of the image on two sides so that the dimensions match that of the cards. It would be relatively simple to just expand these images with white background, although still a bit of a job to do it 50 times. However, I'd really like to grab the yellowed margin of each poster and expand it out in some way. So I see two tasks that might be somewhat challenging. First, figure out where the margins are. I assume there is some kind of edge detection that could be used to find the break between the "formerly white" part and the printed image part of the poster. Then the other tricky part is creating a new image that is similar enough to this yellowed margin texture that I could add it along these two edges without having an ugly seam visible.
Is it feasible to automate it so it can be applied 50 times?
View 1 Replies
View Related
Jun 1, 2012
I developed a plugin, which changes exif information of the image (using a third party program). Is there a way to inform Lightroom programatically to refresh image metadata? Right now I have to right-click on the folder and choose "Synchronize Folder...".
View 6 Replies
View Related
Nov 19, 2012
In C3D (2012 or 2013), the Pipe Properties Dialog reports "Hydraulic Properties" of a pipe section. Through .Net (C#), I can access part data such as Hydraulic gradient etc but I cannot seem to find any reference to three members I see on the mentioned dialog aka "Flow Rate", "Junction loss" and "Return period".
I have "fudged" a term "Flow Rate" into the pipe part parameter definition file (AeccPartParamCfg.xml) and can access that programmatically but I think this "Flow Rate" in the Pipe Properties Dialog" is part of the Auotcad database and I cannot seem to find a route to get hold of it.
View 2 Replies
View Related
Mar 18, 2013
I am trying to use iLogic to programatically create virtual components in an assembly. These components will by used as iProperty "buckets" to hold Machine Center specific information to be exported to production planning software. This information is hierarchical in nature and cannot be (conveniently) stored in the assembly iproperties directly.
View 3 Replies
View Related
Jan 30, 2013
I am trying to add geometry programatically to a duct fitting. This is because the content builder is incapable of correctly building some types of fittings. I found some old code from an Autodesk University class that shows how to add geometry to a AEC object. I have modified it a little to be able to work with a duct fitting but it does not work. The code compiles fine and runs fine without any errors. The geometry is just not added.
[CommandMethod("ACAClassCode", "ExModelerModifyBody", CommandFlags.Modal)] public void ModifyBody() { Database db = HostApplicationServices.WorkingDatabase; Editor ed =
[Code]....
View 1 Replies
View Related
Dec 11, 2012
How to avoid overlapping of programmatically created Mtext.
I have createdMtext for the points present the dwg file, so that they get displayed as labels.
But when there are some densely located points, these points overlay and cannot be read. The font size also adjusted. Then too there are lot of overlapping.
How to avoid overlapping of programmatically created Mtext.
View 1 Replies
View Related
Mar 1, 2012
Is it possible to auto-reattach dimensions programmatically?
I have an assembly that I'm suppressing/unsuppressing parts in and my drawing dimensions keep getting orphaned. I discovered the "Preserve Orphaned Annotations" option, which keeps them from disappearing on me. I can then reattach the dimensions via the design doctor, but who wants to click the doctor 6 times for 20+ dimensions?
View 4 Replies
View Related
Nov 20, 2012
In C3D (2012 or 2013), the Pipe Properties Dialog reports "Hydraulic Properties" of a pipe section. Through .Net (C#), I can access part data such as Hydraulic gradient etc but I cannot seem to find any reference to three members I see on the mentioned dialog aka "Flow Rate", "Junction loss" and "Return period".
I have "fudged" a term "Flow Rate" into the pipe part parameter definition file (AeccPartParamCfg.xml) and can access that programmatically but I think this "Flow Rate" in the Pipe Properties Dialog" is part of the Auotcad database and I cannot seem to find a route to get hold of it.
View 9 Replies
View Related
May 17, 2012
In ipart there is an option to add and delete rows when working with inventor graphically.I have displayed the iPart table and the values in gridview using VB.Net.
The user then selects the row in datagridview and clicks the button delete.When the button onclick even is triggered i want to delete the selected row on ipart table inside inventor.
View 3 Replies
View Related
Jun 19, 2013
im trying to programatically add a parts list into a drawing whilst programatically creating the drawing - the code works fine without the parts list code. The error its showing is 'Parameter incorect' on the line that sais PartsList.add(... In the past when ive got this error with other code it has been because ive used an incorrect parameter (e.g. decimal instead of an integer).
My error is somewhere inside the oPartsList.add(>>ERROR SOMEWHERE HERE<<<)
oDrawDoc = InvApp.Documents.Add(Inventor.DocumentTypeEnum.kDrawingDocumentObject,AssyTemplate,True)
oSheet = oDrawDoc.Sheets.Item(1)
[Code].....
View 1 Replies
View Related
Mar 24, 2012
I loaded a partial customization file by CUI dialog. I would like to programmatically hide / show the menus and toolbars, so when you restart AutoCAD to be permanently hidden or visible.
View 3 Replies
View Related
Oct 15, 2013
I would like to open the text style dialog programmatically. Is this possible? Or is there an autocad key-in command that opens this dialog I can use?
View 1 Replies
View Related
Oct 12, 2010
In C# I noticed that when I loop through the LayerTableRecords in the LayerTable some of the layers in the drawing do not show up. If I look at the layers in the UI it shows the missing layers with a grey icon for their status while the ones that it does detect have a blue icon for their status. The status has to do with which layers that the drawing believes are in use. In the UI you can press a refresh button and this will fix the problem. I want to know how I can fix this through the .NET API, COM API, or command line.
View 7 Replies
View Related
Jun 8, 2011
Is it possible to define a Curtain Wall programmatically?
View 2 Replies
View Related
Apr 18, 2012
A way to update a property set definition programmatically?
Or via a tool palette tool.... I see there is with schedules for instance a right-click option to import a schedule style to update it... but I can't find a way to do this with property set definitions.
This would be in AutoCAD Arch (or MEP) 2012 or 2013.
View 6 Replies
View Related
Mar 22, 2012
My plan is to edit an Associative array entity Programmatically and I don't know where to start.
Why can't I cast a DBobject to AssocArray ?
something like this?
Dim myarray As AssocArray = TryCast(mydbobj, AssocArray)
Why TypeOf dbobject is BlockReference ?
View 5 Replies
View Related