question

Pinakin K avatar image
0 Likes"
Pinakin K asked Joerg Vogel commented

How to get control point from the object?

Hi,

I wan to get the control point connected to the object as a location.

I can find it in the tree, but when try to return the value as Variant its giving out "ControlPoint16>connections/Location/1" instead of ControlPoint16. How do i return just this value directly.

FlexSim 20.2.3
flexsim 20.2.3ccontrol point
1619471952714.png (12.2 KiB)
· 3
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @Pinakin K,

It's hard to know how to help without looking at your model. To receive a more accurate solution, please post your model or a sample model that demonstrates your question.

Proprietary models can be posted as a private question visible only to FlexSim U.S. support staff. You can also contact your local FlexSim distributor for phone or email help.

1 Like 1 ·
Pinakin K avatar image Pinakin K Jeanette F ♦♦ commented ·

CPaccess_Model.fsm

@Jeanette F this is an example model.(Flexim 21.0.2)

Thanks!

0 Likes 0 ·
cpaccess-model.fsm (27.8 KiB)
Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @Pinakin K, was jason.lightfoot's answer helpful? If so, please click the red "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

·
Jason Lightfoot avatar image
2 Likes"
Jason Lightfoot answered Pinakin K commented

You want the ownerobject of that variant.

· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Joerg Vogel avatar image Joerg Vogel commented ·

Yes, from the value and not from the tree node of the coupling node.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.