# DesignScript Libraries

**URL:** <https://forum.dynamobim.com/t/designscript-libraries/34866>\
**Category:** DesignScript\
**Created:** [April 15, 2019, 11:34pm UTC](https://forum.dynamobim.com/t/designscript-libraries/34866 "2019-04-15T23:34:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![aclarke](https://avatars.discourse-cdn.com/v4/letter/a/db5fbb/32.png) [@aclarke](https://forum.dynamobim.com/u/aclarke)\
**Post date:** [April 15, 2019, 11:34pm UTC](https://forum.dynamobim.com/t/designscript-libraries/34866/1 "2019-04-15T23:34:42Z")

</div>

When using DesignScript, what libraries are loaded by default and how can, or can we load other libraries in DesignScript?  
I am looking at the folders:  
(C:\Program Files\Dynamo\Dynamo Core\1.3)  
and  
(C:\Program Files\Dynamo\Dynamo Revit\1.3\Revit\_2018)  
I am looking at DSOffice.dll with Visual Studio and wondering if I can access any of this library methods with DesignScript?

I am not a programmer so I know very little but I feel if I knew what I could load, what is already loaded and what I can access would help me understand more about DS.

Thanks

AlanC.

---

<div class="post-metadata">

**Author:** ![architectcoding](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/architectcoding/32/105118_2.png) [@architectcoding](https://forum.dynamobim.com/u/architectcoding)\
**Post date:** [April 15, 2019, 11:55pm UTC](https://forum.dynamobim.com/t/designscript-libraries/34866/2 "2019-04-15T23:55:12Z")

</div>

A quick search in the forum yielded some interesting results, like this one:

> [@Design Script/Python Language Reference or Library](https://forum.dynamobim.com/t/design-script-python-language-reference-or-library/13632/2):
>
> Hi Pierre, For DesignScript have you already seen these documents? [http://dynamobim.org/developer/index.html](http://dynamobim.org/developer/index.html)[http://dynamobim.org/wp-content/links/DesignScriptGuide.pdf](http://dynamobim.org/wp-content/links/DesignScriptGuide.pdf)[http://dynamobim.org/wp-content/links/DesignScriptDocumentation.pdf](http://dynamobim.org/wp-content/links/DesignScriptDocumentation.pdf) For Python there are lot of examples here: [http://revitpythonwrapper.readthedocs.io/en/latest/index.html](http://revitpythonwrapper.readthedocs.io/en/latest/index.html) and here

---

<div class="post-metadata">

**Author:** ![aclarke](https://avatars.discourse-cdn.com/v4/letter/a/db5fbb/32.png) [@aclarke](https://forum.dynamobim.com/u/aclarke)\
**Post date:** [April 16, 2019, 12:33am UTC](https://forum.dynamobim.com/t/designscript-libraries/34866/3 "2019-04-16T00:33:11Z")

</div>

Hi ArchitetCoding,

## Thanks for the reply, yes, I did do a search in the forum before posting, and I found the same site you posted a link to. Only that two out of the three links no longer work “404 Page Not Found” and the PDF which I have mostly read doesn’t say anything I can find about dll libraries that I am asking about in my original post. And the Revit Wrapper is python not DS, so if I missed this information, I am asking for assistance and have someone just explain it to me, because after my search results and reading I am still having trouble.

## Edit I found some information in the PDF after another look and is says I can import C# assemblies but only with .DS extensions then this can be imported into Dynamo. I have done no search on this as of yet, which I will but can you tell me how this works? 7.2 of the DesignScriptGuide.

Thanks for any assistance

AlanC.

---

<div class="post-metadata">

**Author:** ![aclarke](https://avatars.discourse-cdn.com/v4/letter/a/db5fbb/32.png) [@aclarke](https://forum.dynamobim.com/u/aclarke)\
**Post date:** [April 19, 2019, 11:12am UTC](https://forum.dynamobim.com/t/designscript-libraries/34866/4 "2019-04-19T11:12:20Z")

</div>

Following up, I found some information, on the bottom of [page 2](http://designscript.io/DesignScript_user_manual_0.1.pdf)

File → Import Library

>  It is important to note that the DesignScript language is independent of Dynamo. For example, Dynamo also implements a number of useful  
> geometric and domain specific functions which can be programmed using DesignScript. We will use examples of these geometric classes and  
> methods to illustrate the features of the DesignScript language. However, it should be noted that these classes and methods are not part of  
> the DesignScript language. Other libraries, including geometry libraries can be built using C# development tools operating within the ‘Zero  
> Touch’ conventions, and the resulting DLL’s can be loaded into Dynamo using the ‘file/import’ command and accessed via the Dynamo UI and  
> DesignScript.  
>   
>  There are some aspects of DesignScript which are currently not supported through the Dynamo User Interface, but these can be accessed by  
> using a regular text editor to create a DesignScript source file [with the .ds extension]. These files can also be loaded using the Dynamo  
> ‘file/import’ command.
