Click here to Skip to main content
15,887,485 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
Is there a way of grouping LinesVisual3D (Lines would be differant colors etc. so can not a child of one linevisual3d) & I would like to apply translate/rotate (Double animation - Storyboard). At the moment I can add the Lines to the viewport children's list but I have not found anyway to group them to simplify location in tree & then translate using a Transform3DGroup. Surely you should be able to move Line, Point etc. as well as model in WPF.

Any help point me in the correct direction is appieciated.

Sorry no code as I still can't find any guidance to try.

Thanks in advance.

What I have tried:

Dim line As LinesVisual3D = New LinesVisual3D()
 
line.Color = Colors.Green
line.SetName(Count + 1)
line.Points.Add(Last_Point)
line.Points.Add(Point)

Viewport.children.Add(Line)

'Group Lines 
'Not Sure how to group LinesVisual3D




'Not Sure how to apply the transform (But I can when it is a model OK)
'NOTE Code snippets to simplfy
'Apply Transform + Group
Posted
Updated 26-Mar-23 0:15am
v2
Comments
Dave Kreskowiak 26-Mar-23 11:47am    
What is "LinesVisual3D"? That's not part of the .NET Framework anywhere.

If it's a 3rd party library, find the forum dedicated to that library and ask your question there.
Knight school 27-Mar-23 12:10pm    
Hi, Thanks for the reply. Its WPf & using Helix Toolkit. Sorry I should of been more specific.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900