All topics about specific development with COM interface, LIP language, API in VB, ...
Moderators: remi77, Daniel, jacs
-
gmanucci
- Master Corporal

- Posts: 49
- Joined: Tue Sep 29, 2015 2:48 pm
- TopSolid Module: TopSolid'Cam
- TopSolid Version: 7.4
Unread post
by gmanucci »
Hi!
I haven't found any information about IElements.GetPropertyRealValue(inElement, inProperty) for how to get a value from this element.
I've found that when a project is open, it enables an "OpenPackage" menu that shows many properties and its IDs.
I tried with these ids but no success.
Does someone know something about it?
Thanks in advance,
-
JuP
- Master Chief

- Posts: 127
- Joined: Tue Sep 09, 2014 5:45 pm
- TopSolid Module: TopSolid'Design
- TopSolid Version: 7.12
Unread post
by JuP »
Hello,
Do you want use that to get document properties or it's to get parameters (in a document) ?
-
gmanucci
- Master Corporal

- Posts: 49
- Joined: Tue Sep 29, 2015 2:48 pm
- TopSolid Module: TopSolid'Cam
- TopSolid Version: 7.4
Unread post
by gmanucci »
Hi,
i want to get a property from a entity (dimension in that case), i opened a TR, and i'll have to talk to Mr. Tiberi ):
Thanks for replying,
BR
-
Rubenpmo
- Private

- Posts: 4
- Joined: Tue Jan 21, 2014 8:15 pm
Unread post
by Rubenpmo »
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
-
gmanucci
- Master Corporal

- Posts: 49
- Joined: Tue Sep 29, 2015 2:48 pm
- TopSolid Module: TopSolid'Cam
- TopSolid Version: 7.4
Unread post
by gmanucci »
Hi!
Thanks for replying!
No, i want to get a value from a dimension, so i can get all dimensions on the draft for exporting, making controls, etc.
I Tried and the guys said i'll have to ask an enhancement ):
Best Regards,