Error Opening file: TargetPoint.dwg

Tekla Structures
2024
Tekla Structures
2023
Tekla Structures
2022
Tekla Structures
2021
Tekla Structures
2020
Tekla Structures
2019i
Tekla Structures
2019
Tekla Structures
Error Opening file:TargetPoint.dwg when i open my model view
targetpoint.dwg
error opening file
Environment
United States (Imperial)
United States (Metric)

Error Opening file:TargetPoint.dwg when i open my model view

Question-I receive the error "Error Opening file: TargetPoint.dwg" when i open my model view and I also receive slightly different errors regarding other DWG files when I move around my model space or select parts. 

Image
2016_03_24_19_57_501.png


Answer- This error indicates that the default symbol files are missing from the system. Most likely what happened is you changed the DXK_SYMBOLPATH variable in order to set a standard for your company symbols. This variable can have multiple locations included in the string for example see the default US Imperial locations below

Note:
Versions 2023 onward XS_DIR is not supported and XSBIN should be used in its place.


%XSDATADIR%environments\usa\Common\General\Symbols\;%XSDATADIR%environments\usa\Common\General\Templates\bitmaps\;%XS_DIR%nt\TplEd\bitmaps\;%XSDATADIR%environments\common\symbols\

In this path the %XSDATADIR% is a dynamic variable to allow the path to work in multiple versions. Be sure to keep this same syntax when defining your own custom path. Each location is separated by a semi-colon (;), so you can correct the issue by adding the default locations back to the DXK_SYMBOLPATH variable and then at the end add your custom location. For example see below, my custom location is C:\Tekla\Symbols

%XSDATADIR%environments\usa\Common\General\Symbols\;%XSDATADIR%environments\usa\Common\General\Templates\bitmaps\;%XS_DIR%nt\TplEd\bitmaps\;%XSDATADIR%environments\common\symbols\;C:\Tekla\Symbols


You can find out what the default location usually by looking in the environment role for the environment you are in. To do this first find your environment role .ini file, it should be located C:\ProgramData\TeklaStructures\<version>\Environments\usimp and the name of the file is env_US_imperial.ini. Open this file in notepad and there you can see the default locations, see below. 

Image
usa-dxk_symbolpath
Was this helpful?