Integrations (PTC products, 3rd party products and code) > Code integration (Ada, ARINC 653, C, C#, C++, IDL, Java, SQL and VB) > Visual Basic code > Modeling Visual Basic code in a model > Modeling a Visual Basic namespace in a model (Visual Basic code)
  
Modeling a Visual Basic namespace in a model (Visual Basic code)
A Visual Basic namespace is modeled through a Modeler Package.
To model a Visual Basic namespace in a model:
1. In Modeler, right-click the Model or Package that represents the parent folder or namespace of the namespace you want to create, point to New, and then click Package.
2. Type the name of the namespace, and then press the Enter key.
3. Open the Package's Property Pages, and then click the Options tab.
4. Select the Namespace option.
5. Set the values of the Package's standard properties and Tag Definitions (applied by the «VB Unit» stereotype) as required.
For more information, see Setting a tagged value for an applied tag definition and the related links below.