Search found 39 matches

by cam
Wed Oct 16, 2019 12:58 pm
Forum: Specific Development
Topic: Read Operations from Scenario
Replies: 0
Views: 11460

Read Operations from Scenario

Hi,

is it possible to read the operations from a cam file in the right order like in scenario, including the synchronize marks ?
I would like to generate a "operationplan" for the Machine Operator

TopSolid 7.13
Output: Operationplan like a datagrid

Greetings
Chris
by cam
Thu Apr 12, 2018 8:29 am
Forum: Specific Development
Topic: IPdm. SetProjectMainDocument Method
Replies: 0
Views: 3559

IPdm. SetProjectMainDocument Method

Hi,

it seems that the method stops working after the update 7.11.300.209
by cam
Tue Nov 07, 2017 5:07 pm
Forum: Specific Development
Topic: Entities.GetClassifyings to string
Replies: 0
Views: 3773

Entities.GetClassifyings to string

Hi,

how can I get the names as string from the entities to view in e.g. listbox?

List<ElementId> classes_in_Doc = TopSolidHost.Entities.GetClassifyings(docID);

greetings
chris


Solved.......
by cam
Mon Sep 11, 2017 11:39 am
Forum: Specific Development
Topic: GetOperations
Replies: 1
Views: 3992

Re: GetOperations

No one an idee ???? This is my part of code, that doesn't work. It allways jump into "catch" if (!TopSolidHost.Application.StartModification("My Action", false)) return; try { TopSolidHost.Documents.EnsureIsDirty(ref docID); if (TopSolidCamHost.Documents.IsCam(docID)) { List<Elem...
by cam
Thu Jul 13, 2017 11:57 am
Forum: Specific Development
Topic: GetOperations
Replies: 1
Views: 3992

GetOperations

Hi,

I get a "System.NullReferenceException" on

List<ElementId> ops = TopSolidCamHost.Operations.GetOperations(docID);

The docID is correct.

(Don't forget to Connect() to TopSolidCamHost.......)
by cam
Wed May 31, 2017 11:34 am
Forum: Specific Development
Topic: IDocuments.ImportWithOptions Method
Replies: 2
Views: 3948

Re: IDocuments.ImportWithOptions Method

Bonjour Julien,

yes this is very helpful

Merci beaucoup
by cam
Wed May 24, 2017 9:51 am
Forum: Specific Development
Topic: IDocuments.ImportWithOptions Method
Replies: 2
Views: 3948

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 8:18 am
Forum: Specific Development
Topic: TopSolidHost.Connect()
Replies: 0
Views: 3112

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: 3174

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: 4568

Re: ImportWithOptions

Hi, unfortunately the DXF importer has no such options.


https://drive.google.com/file/d/0B_ZZGb ... sp=sharing
by cam
Wed Nov 02, 2016 7:07 am
Forum: Specific Development
Topic: ImportWithOptions
Replies: 4
Views: 4568

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 2:36 pm
Forum: Specific Development
Topic: ImportWithOptions
Replies: 4
Views: 4568

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 9:48 am
Forum: Specific Development
Topic: How to get the Folders in my PDM tree
Replies: 2
Views: 4362

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 7:58 am
Forum: Specific Development
Topic: Get User Enumeration Parameter
Replies: 0
Views: 5646

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 6:19 am
Forum: Specific Development
Topic: Get User Properties
Replies: 0
Views: 5795

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...