Illustrator SDK :: AICS6 - Dictionary Not Saved / Different ArtHandle?

Aug 13, 2013

when trying to set an entry value in an art object's dictionary with AICS6 SDK. I have a native winow handler set on a toolbar where I have set a few buttons.
 
When I click on the "Outline" button, it is supposed to set an entry (named "FB_CurveType") in the dictionary of the selected art object.
 
newKey = pAIDictionary->Key("FB_CurveType");
pAIArt->GetDictionary(hArt, &dataDict);
pAIDictionary->SetIntegerEntry(dataDict, newKey, type);

[Code]....
 
The returned art handle is valid (not NULL) and I can successfully set the value, and re read it immediatly after setting it (even when disposing/re-getting a reference to the dictionary).
 
The problem comes when I click on "Get Data", it is supposed to loop through each art handle in the document, and check if it has an entry called "FB_CurveType" in its dictionary. Unfortunately, the returned Art Handle's dictionary is empty, and no error code is returned by the SDK functions.I have also noticed that the art handle's value is not the same as the one in the selection code above, at first I thought "Well, maybe that's because Illustrator returns some dynamicaly allocated pointer or something", but when I'm clicking on "Outline" again, the art handle's value is the same as the one in the previous call.
 
My guess is that my function to get all the art objects in the document makes an older or a pale copy of the real art object. Here is the function :
 
void GetArtsByType(AIArtType artType, AIArtSet set)
{
AIArtSpec specs[1];

[Code]....

View 3 Replies


ADVERTISEMENT

Illustrator :: Transferring Files Between AICS6 And AICS5

Feb 19, 2013

I'm currently studying Graphic Design and we're using Illustrator CS6 in class. I have CS5 at home. I've opened a few simple image files in CS5 after having worked on them in CS6 in class, and they seemed to hold up fine after the transfer between the two. However today we did work on layers, and now that I've brought it home and opened it in CS5, there's only one layer.
 
Is the swapping between the two versions going to cause me many problems like this, or is there simple corrections/way to avoid these issues? I'd rather not fork out for the CS6 version (I'm a struggling college student!) or illegally download it as I've caused computer problems in the past trying to do as such.

View 6 Replies View Related

Illustrator :: Spot Color Swatches In AICS6 And AICC Do Not Match Color In Design

Feb 24, 2014

Some of the lighter, saturated colors in the PANTONE+ swatches library appear to be a different color in the swatch list than they are when applied to a design. see below for screen shots.
 
i can duplicate this situation on calibrated NEC MultiSync monitors and uncalibrated laptops. We are running on Mac OS X.8x and above.
 
Designers are complaining about not being able to pick a color from the Swatch Library in AICS6 or AICC. InDesignCC does not seem to have the same issue.

View 1 Replies View Related

Illustrator SDK :: AIUID Save In Dictionary

Mar 29, 2013

AIUIDRef uidref=GetUID(GetArt(range));
sAIDocument->GetDictionary(&dictRef);
if(dictRef)      {
     AIEntryRef entryref=sAIEntry->FromUID(uidref);
     AIDictKey dictkey = sAIDictionary->Key("mykey");
     sAIDictionary->Set(dictRef, dictkey, entryref);
}
 
This is the code I am using to save the uid in dictionary. The code executes. Not sure if it saves uid or not. But illustrator crashes when document is closed.

View 2 Replies View Related

Illustrator :: CS6 - Dictionary Defaults To English USA Can't Change

Jun 26, 2012

The dictionary in the Character Palette always defaults to English USA in CS6. I have changed the setting Preferences > Dictionary and Hyphenation to English UK, but the Character Palette doesn't change, even though the setting remains changed in Prefs. I have opened each of the New Document Profiles in ..AppDataRoamingAdobeAdobe Illustrator CS6 Settingsen_USx64New Document Profiles (Windows 7) and changed the language in the Character Palette to English UK, and it STILL goes back to English USA!

View 6 Replies View Related

Illustrator :: Change Dictionary To English From Russian?

Mar 10, 2014

How do I change the dictionary to english from Russian?

View 2 Replies View Related

Illustrator SDK :: How To Retrieve Information Stored In Dictionary

Jun 14, 2013

I am creating one custom plug - in for my project. and for this i want to create one dictionary.In this dictionary i want to store my object and one custom property related to this selected object( exp path item, raster item. etc).
 
i want to know after closing AI CS6 how can i access the same value what i stored in dictionary.actually i want to create one property for the selected item and want to save and retrieve back. this property.

View 9 Replies View Related

AutoCAD 2013 :: Words Will Not Add To Dictionary?

May 10, 2013

Words will not add to the dictionary? Is this something Autodesk have broken?

English UK dictionary.

View 3 Replies View Related

AutoCAD .NET :: Attaching XRecord (Extension Dictionary)

Sep 25, 2013

Show me a very simple code-example, how to attach an extension dictionary to an AutoCAD Object and add a XRecord? 

View 3 Replies View Related

AutoCAD .NET :: Modifying XRecord Changes All Xrecords In Dictionary

Sep 6, 2011

I have a dictionary in the NOD with several xrecords. I want to change an entry value in one but the others in the dictionary also get changed. How would they be connected?

This is some simplified code that looks at two xrecords, changes one, then reports the new values. Weird thing is that both xrecords get changed.
 
For i = 1 To 2 XRecId = MyAppDict.GetAt(i) XRec = trans.GetObject(XRecId, OpenMode.ForRead) ed.WriteMessage(vbLf + "XRecord: " & i & " First Entry: " & XRec.Data(0).value) Next XRecId = MyAppDict.GetAt(2) XRec = trans.GetObject(XRecId, OpenMode.ForWrite) Dim data As ResultBuffer = New ResultBuffer(New TypedValue(DxfCode.Int16, 2), New TypedValue(DxfCode.Text, XRec.Data(1).value)) XRec.Data = data For i = 1 To 2 XRecId = MyAppDict.GetAt(i) XRec = trans.GetObject(XRecId, OpenMode.ForRead) ed.WriteMessage(vbLf + "XRecord: " & i & " First Entry: " & XRec.Data(0).value) Next

View 2 Replies View Related

AutoCAD 2010 :: Message / Main Dictionary Not Available

Aug 16, 2010

After installing AutoCAD on 3 new Windows 7 workstations, one of them can't find the main dictionary.  I can find dictionaries (*.dct) by using the Windows Search function, but when I try to specify a path with the Options command, I'm told that there are "None available".  What do I need to do to get a dictionary path loaded?

View 9 Replies View Related

AutoCAD .NET :: Create / Populate Custom Dictionary?

Sep 30, 2010

How to create and populate a new custom dictionary in with vb.net.  None of the examples I could find (that I think would work) were written in vb and weren't very well documented.  So I guess what I would like is a push in the right direction. 

View 9 Replies View Related

AutoCAD .NET :: Iterate Through Raster Images / Image Dictionary

Feb 28, 2012

Here's the Code I have so far: 

I want to iterate through the Image Dictionary and Connect into the Raster ImageDef Properties. 

I want to be able to modify and fix missing Raster Images. 

How to get this code sorted out. 

For Each myObjID As ObjectId In myModelSpace
Dim myEnt As Entity = myObjID.GetObject(OpenMode.ForRead) 
If TypeOf myEnt Is Image Then Dim myRasterImg As RasterImage
Dim myRasterImgDef As RasterImageDef 'Open The Dictionary
Dim ImgDict As ObjectId = RasterImageDef.GetImageDictionary(DatabaseIn)
For Each dictEntry In ImgDict NextEnd If

View 4 Replies View Related

AutoCAD 2013 :: Export - PDF Failed To Get Plot Settings Dictionary

Oct 1, 2013

i have a set of prints (4 seperate files) and when i try to eport them to pdf, i get a error stating:

Job: - Error(s) Did Not Plot

Job ID: 1

Sheet set name:

Date and time started: 9/25/2013 7:05:02 AM
Date and time completed: 9/25/2013 7:05:03 AM

UserID: X.X
Profile ID:
Total sheets: 1
Sheets plotted: 0
Number of errors: 1
Number of warnings: 0
Sheet: B-0193-1-Model - Error(s) Did Not Plot
File: Z:EngineeringPRINTSBPRINTSB-0193-1.dwg
Category name:
Page setup:
Device name:
Plot file path:
Paper size:
ERROR: Internal Error: Failed to get Plot Settings Dictionary.

The file was originally created with Autocad 2010 in 2011.  i would post the file but it is a customer print and i cannot disclose it here.  we are now running up-to-date autocad 2013.  this is not a problem with other files i have had to work with (older and newer). just seemds to be a localized event and am wondering if it is that something is corrupt.

View 4 Replies View Related

AutoCAD Civil 3D :: Spell Check - Tab For Adding Word In Dictionary Not Available

Sep 25, 2013

when  running spell check the tab for adding a word to the dictionary is not available.

View 9 Replies View Related

AutoCAD .NET :: Automatically Suppress Xrecords In Extension Dictionary While Coping

Dec 16, 2013

I want to write an overrule to automatically suppress xrecords in extension dictionary while coping but then I test my module, the xreocrd is supressed in the original piece , not the newest one !!

View 8 Replies View Related

Illustrator :: SVG Is Being Resized When Saved From CC

Feb 5, 2014

I am encountering an issue that has arose since the latest update for Illustrator CC (64-bit). When I come to save a file as an SVG (from my original AI file) the artboard's proportions change, and the size of the SVG changes. I am using Windows 7.

View 8 Replies View Related

AutoCAD Visual LISP / AutoLISP :: How To Tie A Key From Custom Dictionary To Display In Field

Sep 16, 2013

How I can tie a key from a custom dictionary to display in a field?

I know that I can dump the custom dictionary into global and the fields can track those values, but instead of strangling my available memory I'd rather track the dictionary key directly. How can I utilize the Entity name or the actual dictionary name & key?

View 9 Replies View Related

InDesign :: Add A Bunch Of Lorem Ipsum Text To Spell Check Dictionary?

Jan 30, 2014

When I spellcheck a huge doc w/ lots of lorem ipsum text spellcheck takes forever.
 
If I use only one certain block of loremipsum text that's in the spellecheck dictionary it wouldn't stop at those words every time.

View 4 Replies View Related

Photoshop Elements :: Saved Black And White Photos Create Pink Hue When Saved?

Mar 20, 2014

I removed color info and reset to greyscale, yet I still get a pink hue when I save as a pdf.

View 4 Replies View Related

Illustrator :: Blurry Images When Saved In CC?

Dec 15, 2013

I'm trying to create a new logo and now that I've created it, I try to save it and once saved, It looks very blurry/fuzzy. But in illustrator it looks excellent! It's just in the saved copy that looks horrible. I'm just metally drained and don't know to do
 
-Illustrator CC
-Macbook Pro Retina -late 2013
 
I've tried every possible format just about for the logo to be saved as. Even in the browser preview mode in save for web, it looks horrible. I'm needing this logo to be saved as jpeg, png, or something relative.

View 23 Replies View Related

Illustrator :: Accidentally Saved As PDF And Then Kept Editing?

May 8, 2013

I accidently saved my .ai file as a pdf and then kept editing. The file still had all of the layers etc.

If I 'save as' again and choose an illustrator document, will any quality be lost?

View 2 Replies View Related

Illustrator :: Opening AIT File Saved In CS5 With CS3?

Jan 2, 2013

I'm having some problems properly opening an Illustrator Template file in CS3 that I saved when I was using CS5 (I use CS6 now).  My co-worker uses CS3 and can't open the template I made using CS5.  I haven't found an option anywhere to be able to downsave the template file to an earlier version. allow my co-worker to open the template file without having any compatibility issues?

View 1 Replies View Related

Illustrator :: CC Photoshop File Could Not Be Saved

Sep 24, 2013

I've always in the past brought a logo file that a graphic designer provided into Illustrator and then exported a psd so that I could bring it into Photoshop on layers and get the exact size, etc that I've wanted and since Illustrator CC I've not been able to do this with any .ai files that I've been given.  It always gives me this message after I've gone through the process: "Photoshop file could not be saved" no matter what the settings are.  This means I have to use the eps file that was provided which is not nearly large enough and when I try and resize it ... what a mess

View 2 Replies View Related

Illustrator :: AI File Saved To PNG Or JPG Changes Color?

Feb 17, 2014

When I save my AI file, it saves in the correct color scheme but when I go to look at it on a different computer, the color is off. The blues are greener etc.

View 7 Replies View Related

Illustrator :: Where Did Most Recent Saved Files Go

Feb 1, 2013

I have been working on a project all week, including today. I saved my project again today at 5:00 p.m. closed Illustrator and went to dinner. Came back home, logged into Illustrator at 6:30 p.m. and my project is not there. When I go into "open recent files" the only files that come up are dated last week.

View 5 Replies View Related

Illustrator :: Cannot Edit Saved AI Files

Apr 10, 2013

I created and saved several files today, both as .ai and as .pdf. Then I quit illustrator. Now when I re-open the files, they are opening as .ai* (with the astrisk) and I can not edit them. How do I edit them?

View 1 Replies View Related

Illustrator :: How To Recover A File That Not Saved

Aug 24, 2011

Is there any way to recover a file that I hadn't saved after Illustrator CS5 crashes???

View 5 Replies View Related

Illustrator :: 2nd Artboard Won't Stay Saved

Oct 28, 2013

I was working in 1 artboard and added a 2nd one. saved the file and when I opened the file again to work on it there was only 1 artboard. it doesn't want to save the 2nd artboard.
 
what could possible be the reason for that?!?!??? By the way I'm working in Illustrator6.

View 14 Replies View Related

AutoCAD Inventor :: Last Saved By And Last Saved Date Drawing Template Properties

Jul 15, 2013

I'm trying to customise my drawing templates to keep them up to date and also include accountability.I seem to be having trouble in including the name of the person who has last saved the model, and the date the model was last saved.

Manually including this information isn't ideal as people will forget, and it makes it harder to trace revisions.I can't see anywhere on the iProperties where the 'Last saved by' feature is available, but I thought maybe the information could be pulled from the username from the application options?

The last saved date should be easy, as there is a modified date in the model's iproperties; however, I cannot pull this information.I have used other cad packages in the past and this was never an issue. With all the customisation of Inventor, I thought this would be relatively straight  forward.

View 3 Replies View Related

GIMP :: How To Restore Layers Or Previously Saved Version Of Saved XCF Image

May 2, 2012

I have a capstone lab project due tomorrow for my graphic arts class and I made a HUGE mistake!!! I created an image using 20 something layers and did SAVE AS as a .xcf image (with all layers open). Part of the project was to save in different formats: .xcf (with open layers), a .png, and a .jpeg (optimized). So, I did the first save and then flattened the image to SAVE AS a .png with a different file name.

Long story short, I was tired and had way too many images open at once. When I was closing all of the images I accidentally saved the changes (flatten image) to my original .xcf (with open layers)!!!! Now, my .xcf that is supposed to have open layers only has one layer...the finished project!! I tried going to the file properties to restore a previous version, but it says that no previous versions were found! I also downloaded a norton "unerase" utility, but maybe I am not scanning properly to locate the file!?!

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved