Tuesday, December 12, 2017

Uninstall multiple programs at once. Uninstall all AutoCAD WMIC Commnand prompt

Uninstall multiple programs at once. Uninstall all AutoCAD WMIC
***WARNING***
This uninstalls all AutoDesk

CMD
WMIC product where "vendor like 'autodesk%'" call uninstall /nointeractive

WMIC product where "vendor like 'Bentley Systems%'" call uninstall /nointeractive

You can type WMIC at the CMD prompt
wmic:root\cli>

Found this at
http://prosoftaec.blogspot.com/2013/08/uninstall-multiple-autodesk-products.html

Friday, December 1, 2017

AutoCAD Product codes


R20.1 = AutoCAD 2016
R20.0 = AutoCAD 2015
R19.1 = AutoCAD 2014
R19.0 = AutoCAD 2013
R18.2 = AutoCAD 2012
R18.1 = AutoCAD 2011
R18.0 = AutoCAD 2010
R17.2 = AutoCAD 2009
 
F = AutoCAD 2016
E = AutoCAD 2015
D = AutoCAD 2014
B = AutoCAD 2013 A = AutoCAD 2012 9 = AutoCAD 2011 8 =
AutoCAD 2010 7 = AutoCAD 2009 6 = AutoCAD 2008 5 = AutoCAD 2007 4 = AutoCAD 2006 3 = AutoCAD 2005 2 =
AutoCAD 2004 1 = AutoCAD 2002


The LocaleID structure is a 4-character hex representation
of the product's locale / language.
 
ProductID's for AutoCAD 2016-based products:
F001 AutoCAD

ProductID's for AutoCAD 2015-based products:
E000 Autodesk Civil 3D
E001 AutoCAD (ACAD)
E00A AutoCAD OEM
E002 Map
E004 AutoCAD Architecture
E005 AutoCAD Mechanical (ACADM)
E006 Building Systems (AutoCAD MEP)
E007 AutoCAD Electrical (ACADE)
E009 AutoCAD LT (ACLT)
E013 Inventor Professional (AIP)
E016 AutoCAD P & ID - 2D
E017 AutoCAD Plant 3D
E022 Autodesk Utility Design
E028 DWG TrueView
E029 AutoCAD ecscad
E030 AutoCAD Structural Detailing

Here is a list of LocaleID - Language Abbreviation -
Language


409 ENU English
407 DEU German 040C FRA French 410 ITA Italian 040A ESP
Spanish 415 PLK Polish 040E HUN Hungarian 405 CSY Czech 419 RUS Russian 416 PTB
Brazilian Portuguese 804 CHS Simplified Chinese 404 CHT Traditional Chinese 412
KOR Korean 411 JPN Japanese


 

Wednesday, November 29, 2017

Excel Automatically number rows so cut and paste works

=Row()-number

number = number of rows down the list.
Then you can cut and paste and it will keep the correct numbers.

In the example Row()=3; number = 2; 3-2=1

Tuesday, November 21, 2017

AutoCAD Save all system variables to a text file

Express tools...

Express > Tools > System Variable editor

Friday, November 3, 2017

Dialog box not showing up Move Dialog box No Spec Record found because User cancel

Dialog box was hidden on a screen that was disconnected.

Moved the dialog box to the main screen

To move a dialog using just the keyboard:
1. Hold down the ALT key.
2. Press SPACEBAR.
3. Press M (Move).
4. Let go of keys
5. A 4-headed arrow will appear. When it does, use your arrow keys to move the outline of the window.
5. When you are happy with its position, press ENTER.

Monday, October 30, 2017

AutoCAD Architecture Area table Change units

Use  Property Data Formats. Change from meters to Sq. Feet

In Architecture Area
Pick Table
Ribbon > Edit Styles > Property Data Formats.
Select Area and change Real numbers Units to appropriate units.

Wednesday, October 25, 2017

Autocad hidden line text text won't hide, autocad hide text, autocad text not hiding

Type Hidetext and set to on.



Include Text in HIDE Operations

Specifies whether text objects created by TEXT or MTEXT are included during a HIDE command. ( HIDETEXT system variable)



https://knowledge.autodesk.com/support/autocad-lt/learn-explore/caas/CloudHelp/cloudhelp/2016/ENU/AutoCAD-LT/files/GUID-662D87BB-E8F9-45DB-BC23-AF8F7567BCF9-htm.html

Friday, October 20, 2017

Bentley ProSteel Object enablers not working AutoCAD 2014 Objects not shading

See if objects shade in ProSteel and re-save dwg from ProSteel.
Uninstall and reinstall object enablers pstoe08111187en.exe.
Run the Prereqs for "AutoPLANT" same version. I think the framework might need to be installed maybe new windows updates are causing an issue

Prerequisites and Common Tools for Bentley AutoPLANT V8i (SELECTSeries 6)
English  apr64081111135en.exe

Wednesday, October 18, 2017

Bentley AUTOPLANT opens wrong version of AutoCAD

Replace AT.ini with a version from a  computer that works or edit the file and change ALL the CADAPP and  AcadCmdLine variable to correct settings.



"C:\ProgramData\Bentley\Plant V8i\CFG\at.ini"



CADAPP=C:\Program Files\Autodesk\AutoCAD 2014\acad.exe





AcadCmdLine=/p "C:\ProgramData\Bentley\Plant V8i\AutoPLANT_Modeler811ACAD_D001_409.arg" /b loadpiping

Wednesday, October 11, 2017

Rectangle around a block, Blue arrow, invert x-clip boundary

FRAMESELECTION (System Variable)

Set FRAMESELECTION to 0

Controls whether the hidden frame of an image, underlay, clipped xref, or wipeout can be selected.
Type:Integer
Saved in:Registry
Initial value:1
Value
Description
0
Hidden frames cannot be selected.
1
Hidden frames can be selected.

If Wipeouts need to be white use TrueColor 255,255,255

Friday, September 29, 2017

ProSteel Object enablers- Cannot find a dll or other file that it needs

ProSteel Object enablers- Cannot find a dll or other file that it needs

program files\Bentley\prostructures\objectenabler\autocad
2016prostructures.dbx


Install AutoPLANT prerequisites. Might be .NET 4.5 or other .NET issue









Tuesday, September 5, 2017

AutoCAD DGNPurge unhandled exception

Items with Line type DGN are causing a problem. Need to change all the entities with DGN linetype to something else. You can find all the line types with DGN* using the filter command in Autocad.
Need to run Rpurge then DGNpurge.


unhandled exception
 eNullObjectId

Autodesk.AutoCAD.Runtime.Exception: eNullObjectId
   at Autodesk.AutoCAD.DatabaseServices.OpenCloseTransaction.GetObject(ObjectId id, OpenMode mode, Boolean openErased, Boolean forceOpenOnLockedLayer)

Thursday, August 31, 2017

Bentely ProSteel can't pick objects in AutoCAD.

in AutoCAD Visual style was set to wireframe. Change visual style to 2dWireframe and it should work.

Wednesday, August 23, 2017

AutoCAD 2016 .NET 4.5 is not installed. newer version installed?

  .NET 4.5 is not installed. newer version installed?

1.1          Windows 10, make sure the updates are installed:  KB3081448    KB3081449    KB3081452
1.2          Windows 7 - REGEDIT > HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Client   Version key
1.3          Copy contents of key and change to 4.5.
1.4          Close the Registry Editor and then install your Autodesk software.

1.5          Once finished, go back in to REGEDIT and change the .NET version back to what it was.

Tuesday, August 22, 2017

Bentley AutoPLANT The specification is empty

Bentley AutoPLANT The specification is empty


1.1      
The following exception occurred in the
DataGridView 
System.Argument.exception:
DataGridComboBoxCell value is not valid

1.2     
Change all filters in Component Preferences
to *

Friday, August 11, 2017

AutoCAD network printer not showing up in plot menu

In AutoCAD type “Options” > Plot and Publish tab > Uncheck Hide system printers.

Wednesday, June 28, 2017

Initializing accont (AC_CONTAN19 )... Error loading surrogate process windows manager

Remove duplicate registry keys. Keep current version.

[HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{85d0e0d6-e7e5-4123-afe5-35a49e9a4b8a}\InProcServer32\*.*.*.*]


1.0          accont19.arx  Component preferences


1.1          Open AutoCAD and type “APPLOAD”  > Startup Suite  Contents > Add .

1.1.1         Add the following file:

C:\Program Files (x86)\Common Files\Bentley Shared\Plant V8i\accont19.arx

Could try Regsvr32 "C:\Program Files (x86)\Common Files\Bentley Shared\Plant V8i\accont19.arx"

Other fixes:

1.2          Set text to 100%.

1.3          Right click on desktop . Personalize > Display > Smaller - 100 (default)

1.4          Remove this KB3139940 unninstall Programs and Features.

Friday, June 23, 2017

Mapped network drives do not appear or work correctly

Mapped network drives do not appear

Issue:
Users are unable to see mapped network drives within software. However, the network drives are visible through Windows Explorer. Mapped drive do not install programs

Click Start, type regedit in the Start programs and files box, and then press ENTER.
Locate and then right-click the registry subkey HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System.
Right click New, and then click DWORD 32Value.
Type EnableLinkedConnections, and then press ENTER.
Right-click EnableLinkedConnections, and then click Modify.
In the Value data box, type 1, and then click OK.
Exit Registry Editor, and then restart the computer.

This problem occurs because Windows UAC treats members of the Administrators group as standard users. Therefore, network shares that are mapped by logon scripts are shared with the standard user access token instead of with the full administrator access token.
Configure the EnableLinkedConnections registry value, which allows Windows to share network connections between the filtered access token and the full administrator access token for a member of the Administrators group.


Thursday, June 22, 2017

AutoCAD Prerequisite 1603 failures C++ Redistributables failing

We shall not be liable for any loss or damage of whatever nature (direct, indirect, consequential, or other) whether arising in contract, tort or otherwise, which may arise as a result of your use of (or inability to use) this website, or from your use of (or failure to use) the information on this site. 



https://forums.autodesk.com/t5/installation-licensing/install-net-framework-language-pack-failed-installation-aborted/m-p/3873491



If you have a newer version c++ and want ignore the error add IGNORE_FAILURE=YES to setup.ini.

 

[DOTNET4LANG]
PRODUCT_NAME=.NET Framework Runtime 4.0 Language Pack
EXE_PATH=3rdParty\NET\4\wcu\dotNetFramework\dotNetFx40LP_Full_x86_x64_%lang%.exe
EXE_PARAM=/q
EXE_LANGS=1036;1040;1031;1034;1046;1041;1042;2052;1028;1029;1038;1045;1049
IGNORE_FAILURE=YESDISKCOST=3000000
VC_FUNC=DotnetLangPacksVerCheck
VC_SOURCE=Setup\SetupUi.dll
VC_PARAM=%lang%;4.0.30319
Problem:  When installing your Autodesk product, your installation fails and the resulting installation.log file on the summary screen (and your %TEMP% folder) shows the following error:
 
Install .NET Framework Runtime Language Pack Failed Installation aborted, Result=1603
Reason:  It is possible that the .NET Framework preinstalled in some Windows 7 and Windows 8 machines is not the full installation and the update for the language pack cannot install if a previous version or newer version is already installed.  This is a very similar issue in the past with the Prerequisite 1603 failures for .NET Framework and Visual C++ Redistributables failing.  This guide acts as a supplement to that article.

Monday, June 12, 2017

AutoCAD "Network license is invalid or license server is shutdown"



3d connexion  mouse




AutoCAD Network license is invalid or license server
is shutdown.




Turn off "3d Connexions add-in for AutoCAD" in
control panel in “3dconnexion 3dxWare”




Thursday, May 25, 2017

Set Autocad Lsp Lisp options files for plotting pen tables and Temp folders vla-put Set paths to C\users\username

 Set paths to C\users\username (STRCAT "C:\\Users\\" (getvar "loginname") "\\OneDrive\\PATH"))

;START LSP
;;; Lisp to add paths
(vl-load-com)
; This sets a reference to the install path of your product
(setq acadloc
   (vl-registry-read
      (strcat "HKEY_LOCAL_MACHINE\\" (vlax-product-key))
   "ACADLOCATION")
); This sets a reference to the files portion of the acad preferences

(setq *files* (vla-get-files
   (vla-get-preferences (vlax-get-acad-object))
)) 

; Paths to set Options > Files >
;Printer file support path...
(vla-put-PrintSpoolerPath *files* "C:\\Temp\\")
(vla-put-PrinterConfigPath *files* "\\\\Server\\printers")
(vla-put-PrinterDescPath *files* "\\\\Server\\printers")
(vla-put-PrinterStyleSheetPath *files* "\\\\Server\\Pen Settings")

;Automatic Save
(vla-put-AutoSavepath *files* "C:\\Temp\\")

;Template settings
(vla-put-TemplateDwgPath *files* "\\\\Server\\Templates\\")
(vla-put-QnewTemplateFile *files* "\\\\Server\\templates\\Template.dwt")

;Log File
(vla-put-LogFilePath *files* "C:\\Temp\\")

;Plot and Publish log
(vla-put-PlotLogFilePath *files* "C:\\Temp\\")

;Temporary Drawing location
(vla-put-TempFilePath *files* "C:\\Temp\\")

;Temporary External Reference
(vla-put-TempXrefPath *files* "C:\\Temp\\")
 
; end use of *files*
(vlax-release-object *files*)
; exit quietly
(princ "Paths set to Server")
 ;END LSP

MORE

 ; This sets a reference to the install path of your product
; the gets are their for info maybe other use

(vl-load-com)
; make temp directory
;(vl-mkdir "c:\\ACADTEMP")

(setq *files* (vla-get-files (vla-get-preferences (vlax-get-acad-object))))

; savepath
;(vla-get-AutoSavepath *files*)
(vla-put-AutoSavepath *files* "C:\\Temp")

; custom icons
;(vla-get-CustomIconPath *files*))
(vla-put-CustomIconPath *files* "S:\\Autodesk\\ICONS")

; printers config
;(vla-get-PrinterConfigPath *files*)
(vla-put-PrinterConfigPath *files* "S:\\AutoDESK\\Plotting\\Plot Styles 2011")

; printers style sheet
;(vla-get-PrinterStyleSheetPath *files*)
(vla-put-PrinterStyleSheetPath *files* "S:\\AutoDESK\\Plotting\\Plot Styles")

; printer drv's
;(vla-get-PrinterDescPath *files*)
(vla-put-PrinterDescPath *files* "S:\\AutoDESK\\Plotting\\Drv")

; print spooler
;(vla-get-PrintSpoolerPath *files*)
(vla-put-PrintSpoolerPath *files* "C:\\Temp\\")

; template location
;(vla-get-QnewTemplateFile *files*)
(vla-put-QnewTemplateFile *files* "S:\\Autodesk\\c3d Templates\\cxxx.dwt")

;make new support paths exist + new
(setq paths (vla-get-SupportPath *files*))

(setq mypaths
"S:\\autodesk\\supportfiles;
S:\\autodesk\\lisp;
S:\\autodesk\\fonts;
S:\\autodesk\\hfs fonts;"
)

(setq newpath (strcat mypaths paths))
(vla-put-SupportPath *files* newpath)

; Tempdirectory
;(vla-get-TempFilePath *files*))
(vla-put-TempFilePath *files* "C:\\Temp\\")

; template path
;(vla-get-TemplateDwgPath *files*)
(vla-put-TemplateDwgPath *files* "S:\\Autodesk\\c3d Templates")

; xref temp path
;(vla-get-TempXrefPath *files*))
(vla-put-TempXrefPath *files* "C:\\Temp\\")

; end use of *files*
(vlax-release-object *files*)

; exit quietly
(princ "All Done")

Friday, May 19, 2017

Point clouds to mesh MeshLAB








Procedure with Meshlab free program

http://www.meshlab.net/

The “Filter->Sampling->Poisson Disk Sampling

 
Make sure you check the “Base Mesh Subsampling” box.

Filters -> Point Set -> Compute Normals for point set”

The “Filters -> Point Set-> Surface Reconstruction: Poisson”
 
  Detailed explanation

Occasionally you will need to sub-sample your point-cloud data to
make it easier to work with. This does inevitably reduce the resolution of the
data but if proper techniques are used you can maintain a high level of
fidelity in the point cloud data.
*** Especially in noisy scan’s from the Kinect
We will want to
recreate a surface, which through trial and error (at least with objects that contain
  a lot of curves or contours) the Poisson disk method obtains the
best results.

The
“Filter->Sampling->Poisson Disk Sampling”

Make sure you check the “Base Mesh Subsampling” box.



The algotrithim
 it was designed to create circular window over the point cloud and
calculate those points that are statistically “random” according to a
Poisson distribution.



Like previously mentioned the exact parameters used in your
process are TOTALLY APPLICATION DEPENDENT. Meaning that what worked well
with a point cloud of a million points for the interior of a room, may not work
with a million points of a human face.


The image below the point cloud captured from the Microsoft Kinect
(of a human chest – side view) and it has points that are not apart of the
actual object we want to creat a 3D model of. So to avoid have spikes or
deformities in our data we should apply a few methods in eliminating them when
possible. 
False points to be removed from point set data


While there are many different ways to deal with these rouge points we can once again apply the Poisson distribution, which seems to have the best results in the automated
filters offered by MeshLab. 
Much like the
filtering of noise in LiDAR data the Poisson takes the entire area of
interest(the radius of the window size we specify in this case) and looks at
the corresponding distribution of points in 3D space. When points are
determined to be statistically random following the number of iterations you
specify the alogritim will remove that point from the recreation of the
surface. 
Even though the Poisson does an excellent job there are still cases where manually cleaning these points from the data is required. (Meaning select it and delete it)


It is also important to note that since the Poisson is a
stochastic process no two subsamples will be exactly the same even if the exact
same parameters are used. So save your data often!!


We will now have to calculate the normals on the sub-sample
we just created so MeshLab knows which side of the point is facing “out” and
which is “in”.

For the point set:

“Filters -> Point Set -> Compute Normals for point set”

At this point you will need to choose one of the surface
reconstruction algorithms that MeshLab offers.



The “Filters ->
Point Set-> Surface Reconstruction: Poisson”

*** Note: This could get time consuming and at least in my experience crashes
when the data  is huge(“huge” is a scientific word for bigger than normal)
As mentioned before in
the subsampling discussion a few tabs ago you can also use the “Marching Cubes
(APSS)” which has pretty good results on data with few contours.


For you inquisitive folks who need to know more about each
of these processes for surface reconstruction please check out these two
links: 
Marching Cubes or the Poisson


 


 

Thursday, May 11, 2017

AutoCAD version number

The first six bytes of a DWG file identify its version. In a DXF file, the AutoCAD version number is specified in the header section. The DXF system variable is $ACADVER.

AC1032 AutoCAD 2018
AC1027 AutoCAD 2013/2014/2015/2016/2017
AC1024 AutoCAD 2010/2011/2012
AC1021 AutoCAD 2007/2008/2009
AC1018 AutoCAD 2004/2005/2006
AC1015 AutoCAD 2000/2000i/2002
AC1014 Release 14
AC1012 Release 13
AC1009 Release 11/12
AC1006 Release 10
AC1004 Release 9
AC1003 Version 2.60
AC1002 Version 2.50
AC1001 Version 2.22
AC2.22 Version 2.22
AC2.21 Version 2.21
AC2.10 Version 2.10
AC1.50 Version 2.05
AC1.40 Version 1.40
AC1.2 Version 1.2
MC0.0 Version 1.0

Tuesday, May 9, 2017

Flexnet license manager finder

AutoCAD – FlexLM Variable Server & Timeout
1.0 ERRORS
The security system (softlock license manager) is not functioning or is improperly installed.
Flexnet license manager finder – your application was not able to obtain a license because the FlexNet license server manager could nor determine where to fine the licensing data it needs. Please choose one of the following.
License file server
Specify the license file

2.0 IF IN REMOTE OFFICE YOU CAN GET A LICENSE TRY SETTING THIS VARIABLE TO GIVE AUTOCAD A LONGER TIME TO CONNECT.
Start > Right-click My Computer > Properties > Advanced system settings > Environment Variables > New System variable>
Variable Name = FLEXLM_TIMEOUT
Variable Value = 1000000
1 million microseconds, increase by 1 million if no connection.

3.0 FLEX_LM CAN’T CONNECT IN REMOTE OFFICE LICENSE FILE NOT FOUND
AutoCAD license manager is Server Name
Start > Right-click My Computer > Properties > Advanced system settings > Environment Variables > SYSTEM VARIABLE > New >
Variable Name = ADSKFLEX_LICENSE_FILE
Variable Value = 27000@Server Name

Tuesday, May 2, 2017

AutoCAD remove Model from PDF name

Publish a single page. Do not use plot use Publish and only one drawing. Annoying?

Thursday, April 27, 2017

Friday, April 14, 2017

DWF The data in the field is corrupted

Use the Exportdwf command to export and the DwfAttach to attach.
Exportdwf
DwfAttach

Errors:
The data in the field is corrupted
The file id an earlier format that is no longer supported
The file format is not supported

Friday, March 3, 2017

AutoCAD text different thickness

The text is on the same style but looks different. Make sure the elevation is he same

Friday, February 17, 2017

AutoCAD text as text or geometry

Plot > Printer Properties > Custom Properties  > Custom Properties Capture all and check As geometry.

Wednesday, January 11, 2017

Folders and files cannot be saved when Autodesk 360 is not running. Start Autodesk 360 and try again

Folders and files cannot be saved when Autodesk 360 is not running. Start Autodesk 360 and try again.

Options > Online Tab > Uncheck "Enable automatic sync"
Options can be accessed by typing "options" in the command line.

Tuesday, January 10, 2017

AutoCAD Open multiple drawings in one AutoCAD session

Type SDI in the command window and set it to 0
SDI = 1 will open only one drawing per AutoCAD.