Итак, немного истории. Самая ранняя версия Civil 3D,
упоминание о которой мне удалось найти в интернете – AutoCAD Civil 2004. Версия была выпущена в 2003
году, и в ней еще не было трубопроводных сетей. Мне точно неизвестно, когда они
появились – в 2005 или 2006 версии, но в 2006 они уже точно были:
Но в этой версии не было еще редактора каталога для
элементов трубопроводных сетей (Part Builder).
Вместо этого, можно было посмотреть содержимое каталога в браузере:
Там же, в каталоге труб для версии 2006, есть интересный
файл «ReadMe_Setup.txt», который объясняет, каким образом
осуществляется возможность просмотра содержимого каталога в браузере:
*** iDrop enabled Web Page display of ABS Part Catalogs ***
The files contained in this zip file can be used to configure any of our xml-based catalogs to
display in an IE5 or IE6 Web Browser with iDrop enabled for all parts.
To add these files to a catalog, and configure the catalog(s) to display as web pages:
1. Unzip the files to a folder one level up from the catalog .apc file you wich to web enable.
Example: if your .apc file is D:\MyCatalogs\CoolParts\CoolParts.apc
then unzip to D:\MyCatalogs
This will add the following support file folders:
Catalog
Images
xsl
js
css
2. Copy the files from the "Catalog" folder to the folder containing the .apc file
Example: D:\MyCatalog\Catalog\*.* to D:\MyCatalogs\CoolParts
3. Edit the newly copied Catalog.htm file and make the following changes, depending on your .apc file
a) edit strCatalog to match your .apc filename, e.g. "CoolParts.apc"
b) edit strNestedPathsRelTo to be either "Table" or "Catalog" depending on your part domain.
Generally MvPart catalogs use "Table" relative paths, while all fitting catalogs use "Catalog"
c) edit strCatalogDomain to match your domain
// ********************** BEGIN CATALOG CONFIG **************************************************************
// To configure your catalog, edit the following 3 vars
//
var strCatalog = "GoboTestMvPart.apc"
var strNestedPathsRelTo = "Table" // MvParts are "Table", all other catalogs are "Catalog"
var strCatalogDomain = "MvPart_Component" // Domain "Duct_Component, Pipe_Component, MvPart_Component, etc.
//
// *********************** END CATALOG CONFIG ***************************************************************
4. Save the Catalog.htm file.
After making these changes you should be able to double-click on the Catalog.htm file and browse your catalog.
Стоит отметить, что просмотр содержимого каталога в
современных браузерах недоступен. Я пробовал в IE 11, Chrome 45, FireFox 40 – результат
одинаков.
Зато теперь понятно назначение папок css, xsl и js, а также
файлов htm и пр. – они предназначены для отображения состава каталога в
браузерах IE5 и IE6 J.
В целом же, каталог элементов с тех пор не изменил своей
структуры, только наполнился новыми элементами.
Редактор каталога появился в следующей версии – 2007:
Выглядел он абсолютно так же, как сейчас, поэтому, нет
смысла его описывать.
Комментариев нет:
Отправить комментарий