Skip to main content
1-Visitor
August 8, 2017
Question

How to create a simp Rep in Jlink?

  • August 8, 2017
  • 1 reply
  • 3210 views

I have an assembly file .I wish to create a New Simp rep in my assembly .Based on the component Id i wish to create a new simplified representaion using Jlink.Is this possible to create a Simp rep using Componenet ID in Jlink?Please help me solve this thread.Thanks in advance..

1 reply

15-Moonstone
August 8, 2017

I don't know what you mean with the component Id, because you need a model to create a simprep inside of it.

 

You can use this, from a solid.

SimpRep CreateSimpRep

(CreateNewSimpRepInstructions Instructions)

 

Br,

Eike

ddhini1-VisitorAuthor
1-Visitor
August 8, 2017

Eike,

To create a simp rep w need a model .Yes it need.But the model is an assembly .We have lot of components in it.We have to choose and create the simp rep based on our requirement.So we need to pick the exact components inside a model file that we opened.So is there any possibilities to create a simp rep items by comp ID.  

15-Moonstone
August 8, 2017

So I haven't done that in JLink.

There are possibilities to edit SimpReps

You need to setInstructions of the simprep and then addItems to the specified type.

You need to create a 

SimpRepCompItemPath 

to your specified component. So the CompId is not enough because of possible subassemblies with same components, ... <~ the assembly structure stuff.

 

After you got that you can create a simprepitem. Add them to simprepitems, setItems to your instructions, setInstructions to your simprep. Finish. : )

 

Should work in JLink like it works in Toolkit.

 

Br,

Eike