Search found 33 matches

by cam
Wed May 24, 2017 8:51 am
Forum: Specific Development
Topic: IDocuments.ImportWithOptions Method
Replies: 0
Views: 7

IDocuments.ImportWithOptions Method

Hi folks

how can I get the importer Index and associated fileextension (e.g. ".step")
or a list of all importer indexes and the associated fileextensions
by cam
Thu May 11, 2017 7:18 am
Forum: Specific Development
Topic: TopSolidHost.Connect()
Replies: 0
Views: 74

TopSolidHost.Connect()

Hi,

is it possible to connect to a specific version, if several versions of TopSolid are installed ?
My idea is to popup a window, where the user can select the desired version.
by cam
Thu Feb 23, 2017 7:11 am
Forum: Specific Development
Topic: SetTextPublishingDefinition
Replies: 0
Views: 211

SetTextPublishingDefinition

Hi, how can I "Publish Text..." the material parameter "Material Name" by C# in my part document ? // docID = DocumentId of the currently edited part ElementId material_name = TopSolidHost.Elements.SearchByName(docID, "$TopSolid.Cad.Design.DB.Documents.ElementName.MaterialMa...
by cam
Mon Nov 07, 2016 5:57 pm
Forum: Specific Development
Topic: ImportWithOptions
Replies: 4
Views: 685

Re: ImportWithOptions

Hi, unfortunately the DXF importer has no such options.


https://drive.google.com/file/d/0B_ZZGbIZWqqeZFFLNTUweHMxd1E/view?usp=sharing
by cam
Wed Nov 02, 2016 7:07 am
Forum: Specific Development
Topic: ImportWithOptions
Replies: 4
Views: 685

Re: ImportWithOptions

Hi Mark, Thank you for your answer. Unfortunately, I have already tried this methode, and there is no option to define the import as 2D document. And..... Is there a possibility to define "all" layers to import in the importer options ? Then it will be able to have elements on the imported...
by cam
Tue Oct 25, 2016 1:36 pm
Forum: Specific Development
Topic: ImportWithOptions
Replies: 4
Views: 685

ImportWithOptions

Hi folks,

I try to get import a 'DXF' file into my project by Automation work.

How can I tell this methode to import the file as '2D Draft' ?
At the moment I get the file imported as Part. And the content of the part is empty.

Any idea ??
by cam
Thu Oct 06, 2016 8:48 am
Forum: Specific Development
Topic: How to get the Folders in my PDM tree
Replies: 1
Views: 249

How to get the Folders in my PDM tree

Hi there, how can I get the folderstructure of my PDM ? I try to write a little C# program that creates automaticly a project with a template in a specific folder in my PDM struture. At the moment, the program creates the project direct under the root folder. I think the problem is that I don't know...
by cam
Tue Sep 27, 2016 6:58 am
Forum: Specific Development
Topic: Get User Enumeration Parameter
Replies: 0
Views: 3376

Get User Enumeration Parameter

Hi folks, how can I get the user properties, defined as an enumeration in C# ? In my user properties library, I defined some text user properties and some enumerations. I want to get both out displayed in my datagridview o.k. I can't find a solution. So I decided to skip the enumaeration as user pro...
by cam
Mon Sep 19, 2016 5:19 am
Forum: Specific Development
Topic: Get User Properties
Replies: 0
Views: 3452

Get User Properties

Hi folks, I try do read userproperties defined in my part document. The properties are defined in a library. In the part I set the property. If I try to read this in my code the programm crashes. Here is my part of code. PdmObjectId userPropertyObjectId = TopSolidHost.Pdm.SearchDocumentByUniversalId...
by cam
Thu Jun 30, 2016 4:58 am
Forum: Specific Development
Topic: List materials in dropdown
Replies: 4
Views: 1694

Re: List materials in dropdown

Hi,

thank you very much.
I translated in C# and it works also well for me.

greetings
Christian
by cam
Wed Jun 29, 2016 5:52 am
Forum: Specific Development
Topic: List materials in dropdown
Replies: 4
Views: 1694

Re: List materials in dropdown

Hi,

I think the methode "GetProjectFolderConstituents" is the solution.
But.....
I don't know how to use it ?
Has anybody an example ?

For Missler.....
it would be nice if we can get examples "how to use" in the TopSolid.Automation Help
by cam
Fri Jun 24, 2016 1:04 pm
Forum: Specific Development
Topic: howto get project properties or parameters
Replies: 4
Views: 611

Re: howto get project properties or parameters

Hello,

thank you very mutch.
Now it works well.
Fine thing.....
by cam
Wed Jun 22, 2016 4:00 pm
Forum: Specific Development
Topic: howto get project properties or parameters
Replies: 4
Views: 611

howto get project properties or parameters

Hi,

how can I get the parameters of the project in C# code.
Like in this video at 0:40
https://www.youtube.com/watch?v=yiiOzfSNn-M
The access to the edited document parameters works.
by cam
Mon Jun 06, 2016 11:04 am
Forum: Specific Development
Topic: List materials in dropdown
Replies: 4
Views: 1694

List materials in dropdown

Hi,

how can I get the materials from my library to show in a dropdown on my windowsform ?
The materials are organized in folders in a company specific library.

Up to date, I only can open the library.
by cam
Fri Apr 15, 2016 11:31 am
Forum: TopSolid'Cam 7
Topic: Machining Cloud
Replies: 3
Views: 777

Re: Machining Cloud

Hello Kyle,

yes I understand, but how get I access to the tool assembly inside TS ?

Go to advanced search