Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X
If I use the Properties UI to set a dimension2D as a Basic dimension how then can I find this Basic Dimension2D using the jlink API?
As an example, if a Dimension2D is set to be a Reference dimension then i can use the Dimension2D.GetIsReference() method to find Reference dimension.
I can not find an equivalent function for Basic dimensions, but i can imagine that i am not looking for it properly.
Any suggestions?
Tnx in advance!
johnu
Tnx!
johnu
@JohnU-PNSR wrote:
If I use the Properties UI to set a dimension2D as a Basic dimension how then can I find this Basic Dimension2D using the jlink API?
As an example, if a Dimension2D is set to be a Reference dimension then i can use the Dimension2D.GetIsReference() method to find Reference dimension.
I can not find an equivalent function for Basic dimensions, but i can imagine that i am not looking for it properly.
Any suggestions?
Tnx in advance!
johnu
Tnx!
johnu
Hi,
please ask PTC Support.
Hello Martin;
Thankyou for your reply, can you elaborate as to why i would need to go to PTC support for this topic?
Tnx!
johnu
@JohnU-PNSR wrote:
Hello Martin;
Thankyou for your reply, can you elaborate as to why i would need to go to PTC support for this topic?
Tnx!
johnu
... because PTC Support engineer can answer your question.
Thankyou Martin, I sincerely hope that is the case, we have opened a ticket.
There are no methods for the class Dimension2D to allow you to find out if a dimension is Basic or Inspection, which means it can't be done using JLink (which is free).
However, such functionality exists in Object Toolkit Java API (which requires a developer license and runtime licenses for the user):
• wfcDimension.WDimension.IsBasic
• wfcDimension.WDimension.IsInspection