Search found 4 matches

by Rubenpmo
Wed Aug 24, 2016 7:21 pm
Forum: Specific Development
Topic: [TS7] Get element property
Replies: 4
Views: 4444

Re: [TS7] Get element property

Hi,

In my last post, I've used:

Code: Select all

double zmax = TopSolidHost.Elements.GetPropertyRealValue(peca, "$TopSolid.Cam.NC.Kernel.DB.Entities.Part.FinishZMax");
where "peca" is an ElementId.

Is this what you want?

BR
Ruben
by Rubenpmo
Wed Aug 24, 2016 11:10 am
Forum: Specific Development
Topic: Get Part Parameters from CAM document
Replies: 1
Views: 2304

Re: Get Part Parameters from CAM document

I looks like we have to us IElements interface from TopSolid Kernel, not TopSolid.Cam...

Code: Select all

TopSolidHost.Elements.GetProperties(part)
where part is an ElementId.

BR
Rúben
by Rubenpmo
Tue Aug 23, 2016 11:22 am
Forum: Specific Development
Topic: Get Part Parameters from CAM document
Replies: 1
Views: 2304

Get Part Parameters from CAM document

Hi, I'm trying to get the parameters from the part of a cam document, but without success. From TopSolid'Cam Automation Guide we have: List<ParameterId> parametersPart = TopSolidCamHost.Parameters.GetParameters(TopSolidCamHost.Operations.GetPart(op)); But this isn't possible because the GetParameter...
by Rubenpmo
Wed Sep 10, 2014 5:31 pm
Forum: Specific Development
Topic: LIP select element
Replies: 0
Views: 3540

LIP select element

Hi all! What I'm trying to achieve is instead of selecting a shape by picking it, I want to select it by its name. This is the current code: LABEL labblk INT isfree STATIC INT follow OnInit 1 follow! EndInit DDOCWgetcrtid DDOCWisfreedesign isfree! isfree? Not If "D#Follow={follow:D#EXISTING OPE...