Accoreconsole missing pc3 files (exists in AutoCAD)

Accoreconsole missing pc3 files (exists in AutoCAD)

ottosson_mathias
Advocate Advocate
742 Views
9 Replies
Message 1 of 10

Accoreconsole missing pc3 files (exists in AutoCAD)

ottosson_mathias
Advocate
Advocate

Hi!

 

I'm having an issue where I can't use accoreconsole for plotting since all my pc3-files are missing. If I start Autocad they are all there.

 

Shouldn't accoreconsole and Autocad share the same settings for plotters? Can I check the plotters path in accoreconsole somehow?

 

Anybody knows why this occurs? It's basically a clean installation (I have reset the profile).

 

Thanks!

0 Likes
Accepted solutions (1)
743 Views
9 Replies
Replies (9)
Message 2 of 10

cadffm
Consultant
Consultant

Hi,

 

>>" since all my pc3-files are missing. "

>>"If I start Autocad they are all there."

So you run two differently profiles, i guess.

 

What Product(name) you working with?  AutoCAD 2014 or which Version?

What's the name of your profile? Start AutoCAD and check CPROFILE

 

How are you start the Accoreconsole (which why, which parameters, please all detail literary..)

 

 

 

 

 

Shouldn't accoreconsole and Autocad share the same settings for plotters? Can I check the plotters path in accoreconsole somehow?

 

Anybody knows why this occurs? It's basically a clean installation (I have reset the profile).

Sebastian

0 Likes
Message 3 of 10

ottosson_mathias
Advocate
Advocate

I'm using a custom profile for Autocad Architecture 2020, let's call it MyProfile. I currently open like this "accoreconsole.exe /i c:\path\myFile.dwg". When I check the CPROFILE command I get:

CPROFILE = "<<Unnamed Profile>>" (read only). And I check available plotters using the -plot command and ? when it's promting for plotter name.

 

I get the same plotters listed when I specify /p MyProfile in the start arguments though so it seems to not be affected by the profile selected....

0 Likes
Message 4 of 10

cadffm
Consultant
Consultant

It sounds like you have a mistake in thinking.

 

You say "I'm using a custom profile for Autocad Architecture 2020"

So are you talking about the software ARCHITECTURE and NOT AUTOCAD, or?

 

Start your software by the usual way, checkout your titlebar or open command ABOUT,

what is the Productname - AutoDESK AutoCAD 2020 or AutoDESK AutoCAD ARCHITECTURE?

 

Sebastian

0 Likes
Message 5 of 10

ottosson_mathias
Advocate
Advocate

The product name is AutoCAD Architecture 2020. That shoouldn't make any difference for accoreconsole since it doesn't load any "flavour" to my knowledge. Accoreconsole is just about as bare bones as it can be.

0 Likes
Message 6 of 10

jrreid
Advocate
Advocate

Type inside AutoCAD OP or Config and on the Files Tab see if you have the path right to find your .PC3 files.

All if you .PC3 files should show up in that folder.

 

jrreid_0-1635857882176.png

 

Hope this helps.

 

JRR.

 

 

0 Likes
Message 7 of 10

ottosson_mathias
Advocate
Advocate

@jrreid  I think you misunderstood my question. I can see the pc3 files from Autocad, just not from accoreconsole. The path is correct. It just seems to be disregarded somehow when loading them from accoreconsole.

0 Likes
Message 8 of 10

cadffm
Consultant
Consultant
Accepted solution

>>"The product name is AutoCAD Architecture 2020."
okay


>>" it doesn't load any "flavour" to my knowledge.
>>"Accoreconsole is just about as bare bones as it can be."

That's absolutely right, it doesn't load any "flavour", it is just a (stripped/core) Version of AUTOCAD

 

>>"That shoouldn't make any difference for accoreconsole since"
>>"I'm using a custom profile for Autocad Architecture 2020, let's call it MyProfile."

Your (Architecture) Profile has nothing to do with the accoresonsole(ACC)

 

>>"I currently open like this "accoreconsole.exe /i c:\path\myFile.dwg". When I check the CPROFILE command I get:
>>"CPROFILE = "<<Unnamed Profile>>" (read only)."
The question is: Is the plotter path in this profile set to your folder in question.

 

>>"And I check available plotters using the -plot command and ? when it's promting for plotter name."
And you did this in your script while running in ACC and the .pc3 file is there?*


>>"I get the same plotters listed when I specify /p MyProfile in the start arguments"

The question is, is your printer listed o not?

 

By testing with /p myprofile you created a new plain Standard AutoCAD Profile in your AutoCAD2020!
The .pc3 path is "C:\Users\CAD1\AppData\Roaming\Autodesk\AutoCAD 2020\R23.1\deu\plotters" in this profile.


>>though so it seems to not be affected by the profile selected....
The profile controls the plotter path, it affected

 

- - -

1. You starts "accoreconsole.exe",
The first Question is: WHICH one? If you have installed more than one AutoCAD,LT ot Toolset
Please add the whole path instead of the the filename and extension: "C:\Program Files\Autodesk\AutoCAD 2020\accoreconsole.exe"
(what you use later is another thing, but for testing use the whole path)

This way we make sure to know which (core) AutoCAD we start!

 

or just add

(princ(findfile "acad.exe"))

to your script to be sure you are running the right ACC exe

and to know in which AutoCAD you have tocheck the plotter path ;D

 

2. The profile: Without the /p parameter, ACC should use the last used AutoCAD (not Architecture) profile,
you can test it with CPROFILE inside your script.

 

So, start AUTOCAD (not Architecture) , switch to the profile you read in the log

 

or add this to your script

(princ(getenv "PrinterStyleSheetDir"))

(princ(findfile "mypersonal.pc3"))

and check the log

 

 

Sebastian

0 Likes
Message 9 of 10

ottosson_mathias
Advocate
Advocate

Thanks a lot! I found the issue, much thanks to your help. Especially (princ(getenv "PrinterStyleSheetDir")) which lead me to getenv "PrinterConfigDir" which showed that the path was set to a folder that didn't exist. Some default folder in the Autocad install folder (C:\Program Files\Autodesk\AutoCAD 2020\plotters).

 

The issue was that Autocad 2020 "vanilla" (ACAD-3001:409) and Autocad Architecture 2020 (ACAD-3004:409) was present in the registry. They start from the same install path, with the /product switch to activate Architecture (autocad only, not accoreconsole). And when I start accoreconsole will go with vanilla and not Architecture, which had the "MyProfile" profile.

 

As you said, if I start accoreconsole with a profile that does not exist it will be created. This made everything very confusing since it said the profile was loaded. Correct name, but still the wrong one!

 

Anyway. I guess the solution is to configure vanilla in the same way I have configured Architecture. Or do you know any way to make accoreconsole read the settings from the Architecture registry settings? I don't think it's possible, right?

0 Likes
Message 10 of 10

cadffm
Consultant
Consultant

Good to hear.

I think it's not possible.

 

Sebastian

0 Likes