# CreateLSPtoExportXML

Let's start with script that export to Lisp (LSP) file CS from user library:

{% file src="/files/-MVuNULgBqetcpCSvjK3" %}
Script to prepare LSP file to export XML-library
{% endfile %}

![View of script "GetLispFileOfCS\_ENG.dyn" ](/files/-MVuLZmzb9_66TpCUqoo)

Начнем со скрипта, который экспортирует в Лисп-файл (lsp) системы координат из пользовательской библиотеки:

{% file src="/files/-MVuNgU9u9E5rPeVhyHY" %}
Скрипт для подготовки LSP файла для экспорта XML-версии библиотеки
{% endfile %}

![View of script "GetLispFileOfCS\_RUS.dyn"](/files/-MVuLhH5D19hzgBGSsgQ)

**Note**: nodes CS\_Language\_RUS and CS\_Language\_ENG compulsory to using in dependent of program's language

**Примечание**: ноды CS\_Language\_RUS и CS\_Language\_ENG обязательны к использованию в зависимости от языка программы

Node GetAllOfMAPCSLIBRARY work as node GetPartOfMAPCSLIBRARY without opportunity to select system/user part of library

Нод GetAllOfMAPCSLIBRARY работает также, как и GetPartOfMAPCSLIBRARY, только без возможности выбрать системную/пользовательскую часть

### Get a XML-library/Получение XML-версии библиотеки

After node above is finished, in marked path you can see created file such as "29d81e1f-1cc2-4275-a446-a6395dbfc1cf.lsp".\
После отработки нода выше в указанной папке вы увидите файл с именем наподобие "29d81e1f-1cc2-4275-a446-a6395dbfc1cf.lsp".

![Example of file](/files/-MVuk2H-Z9qdvejP94u_)

After that open your Civil 3D and run command `_appload` to open next window, where you need select your created lsp-file and press "Load" (when using RUS version, file's weight is larger):

![](/files/-MVulS7X4raGbdUlfNrh)

\
После этого перейдите в пространство Civil 3D и запустите команду `_appload` до открытия следующего окна (вес файла при русской версии будет в 2 раза больше):

![](/files/-MVulqWLFQL2bpIKmySR)

After finish the process go to folder "Mu documents" and there you can see exported file:\
После окончания процесса перейдите в папку "Мои документы" и там будет экспортированный файл:

![](/files/-MVumJe28skWxGjyvB4T)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://inj9.gitbook.io/dynamo-mapconnection/operations-with-mapcslibrary/page1.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
