Select centerline in a revolved protrusion command

Experimenter
Experimenter

I have a vb6 program, that selects a geometry on a "Layer1" and also selects the Centerline( line with line style Center) on a Centerline layer, opens a part file, pastes the geometry, then launches the revolved protrusion command. How do I make sure, to set the axis of rotation to be that Centerline( which is of type Center)?  Any help will be greatly appreciated.

 

Thanks

2 REPLIES

Re: Select centerline in a revolved protrusion command

Phenom
Phenom

When you paste the geometry into part, Solid Edge creates layers in the sketcher for each entity which is not on the default layer. You can use this property to ensure picking the right profile for the axis of rotation ?

Re: Select centerline in a revolved protrusion command

Experimenter
Experimenter

Hi Tushar,

Sorry for the late response. Can you please let me know how I can expose that property? I am new to this, and would really appreciate any help.

Thanks.